Documentation ¶
Index ¶
- type IshaZenith
- type IshaZenithType
- func (c IshaZenithType) Code() string
- func (c IshaZenithType) MarshalJSON() ([]byte, error)
- func (c IshaZenithType) Name() string
- func (c *IshaZenithType) Scan(val interface{}) error
- func (c *IshaZenithType) UnmarshalJSON(val []byte) error
- func (c *IshaZenithType) UnmarshalParam(src string) error
- func (c IshaZenithType) Value() (driver.Value, error)
- type IshaZenithTypeClass
- type SunZenith
- func (c SunZenith) Code() string
- func (c SunZenith) FajrZenith() angle.Angle
- func (c SunZenith) IshaZenith() IshaZenith
- func (c SunZenith) MarshalJSON() ([]byte, error)
- func (c SunZenith) Name() string
- func (c *SunZenith) Scan(val interface{}) error
- func (c *SunZenith) UnmarshalJSON(val []byte) error
- func (c *SunZenith) UnmarshalParam(src string) error
- func (c SunZenith) Value() (driver.Value, error)
- type SunZenithClass
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IshaZenith ¶
type IshaZenith struct { Angle angle.Angle Type IshaZenithType }
type IshaZenithType ¶
type IshaZenithType int
IshaZenithType .
const ( // Standard . Standard IshaZenithType = iota + 1 // AfterMagrib . AfterMagrib )
func (IshaZenithType) MarshalJSON ¶
func (c IshaZenithType) MarshalJSON() ([]byte, error)
MarshalJSON presents value to the client
func (*IshaZenithType) Scan ¶
func (c *IshaZenithType) Scan(val interface{}) error
Scan retrieves value from the DB
func (*IshaZenithType) UnmarshalJSON ¶
func (c *IshaZenithType) UnmarshalJSON(val []byte) error
UnmarshalJSON parses value from the client
func (*IshaZenithType) UnmarshalParam ¶
func (c *IshaZenithType) UnmarshalParam(src string) error
UnmarshalParam parses value from the client (handled by gorm)
type IshaZenithTypeClass ¶
IshaZenithTypeClass .
func AsCompleteIshaZenithTypeConstants ¶
func AsCompleteIshaZenithTypeConstants() []IshaZenithTypeClass
AsCompleteConstants presents constants as their complete object form
type SunZenith ¶
type SunZenith int
SunZenith .
func (SunZenith) IshaZenith ¶
func (c SunZenith) IshaZenith() IshaZenith
func (SunZenith) MarshalJSON ¶
MarshalJSON presents value to the client
func (*SunZenith) UnmarshalJSON ¶
UnmarshalJSON parses value from the client
func (*SunZenith) UnmarshalParam ¶
UnmarshalParam parses value from the client (handled by gorm)
type SunZenithClass ¶
type SunZenithClass struct { Code string `json:"code"` Name string `json:"name"` Fajr angle.Angle `json:"fajr"` Isha IshaZenith `json:"isha"` }
SunZenithClass .
func AsCompleteConstants ¶
func AsCompleteConstants() []SunZenithClass
AsCompleteConstants presents constants as their complete object form
Click to show internal directories.
Click to hide internal directories.