Documentation ¶
Index ¶
- type OTime
- func (ct OTime) GetDate(timezone string) OTime
- func (ct OTime) GetDateString() string
- func (ct OTime) GetTime(timezone string) OTime
- func (ct OTime) GetTimeString() string
- func (ct OTime) GetTimeWithSeconds(timezone string) OTime
- func (ct OTime) MarshalJSON() ([]byte, error)
- func (ct *OTime) UnmarshalJSON(b []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OTime ¶
func (OTime) GetDateString ¶
func (OTime) GetTimeString ¶
func (OTime) GetTimeWithSeconds ¶
GetTimeWithSeconds returns time with format like "15:04:05"
func (OTime) MarshalJSON ¶
func (*OTime) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.