Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheTime ¶
CacheTime is the data type to represent time in cache, represented by Unix millis. It is castable to time.Time
func (CacheTime) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface
func (*CacheTime) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface
type NCacheTime ¶
NCacheTime is nullable CacheTime. It is castable to null.Time
func (NCacheTime) MarshalJSON ¶
func (ct NCacheTime) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler interface
func (*NCacheTime) Scan ¶
func (ct *NCacheTime) Scan(value interface{}) error
Scan implements the Scanner interface.
func (*NCacheTime) UnmarshalJSON ¶
func (ct *NCacheTime) UnmarshalJSON(data []byte) (err error)
UnmarshalJSON implements json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.