Documentation
¶
Index ¶
- type DateOnly
- func (d DateOnly) After(other DateOnly) bool
- func (d DateOnly) Before(other DateOnly) bool
- func (d DateOnly) IsZero() bool
- func (d DateOnly) MarshalJSON() ([]byte, error)
- func (d DateOnly) Scan(value interface{}) error
- func (d DateOnly) ToTime() time.Time
- func (d DateOnly) UnmarshalJSON(b []byte) error
- func (d DateOnly) Value() (driver.Value, error)
- type TimeOnly
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DateOnly ¶
func (DateOnly) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface and will be called automatically
func (DateOnly) UnmarshalJSON ¶
UnmarshalJSON implements the json.Marshaler interface and will be called automatically
type TimeOnly ¶
func (TimeOnly) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface and will be called automatically
func (TimeOnly) UnmarshalJSON ¶
UnmarshalJSON implements the json.Marshaler interface and will be called automatically
Click to show internal directories.
Click to hide internal directories.