Documentation ¶
Index ¶
- type Date
- func (date Date) Add(day int) Date
- func (t Date) After(u Date) bool
- func (t Date) Before(u Date) bool
- func (t Date) Equal(u Date) bool
- func (date Date) MarshalJSON() ([]byte, error)
- func (date *Date) Scan(value interface{}) error
- func (date Date) String() string
- func (t Date) Sub(u Date) time.Duration
- func (date *Date) UnmarshalJSON(b []byte) error
- func (date Date) Value() (driver.Value, error)
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Date ¶
func NewFromTime ¶ added in v0.0.4
func (Date) MarshalJSON ¶
func (*Date) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.