Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSON ¶
JSON represents time in RFC3339 format and makes that appropriate for DB structure.
func (*JSON) MarshalJSON ¶
MarshalJSON invoked when json.Marshal and returns (current) time in RFC3339.
func (*JSON) Scan ¶
Scan implements sql.Scanner interface. Transforms value from DB into appropriate for struct.
func (*JSON) UnmarshalJSON ¶
UnmarshalJSON invoked when json.Unmarshal and assigns the given value to struct.
Click to show internal directories.
Click to hide internal directories.