Documentation ¶
Index ¶
- Constants
- type Date
- func (t Date) GormDataType() string
- func (t Date) MarshalJSON() ([]byte, error)
- func (t Date) Ptr() *Date
- func (t *Date) Scan(value interface{}) error
- func (t Date) String() string
- func (t Date) Time() time.Time
- func (t *Date) UnmarshalJSON(data []byte) error
- func (t Date) Value() (driver.Value, error)
- type Time
- func (t Time) GormDataType() string
- func (t Time) MarshalJSON() ([]byte, error)
- func (t Time) Ptr() *Time
- func (t *Time) Scan(value interface{}) error
- func (t Time) String() string
- func (t Time) Time() time.Time
- func (t *Time) UnmarshalJSON(data []byte) error
- func (t Time) Value() (driver.Value, error)
Constants ¶
View Source
const ( DateFormatTimestamp = "2006-01-02 15:04:05.000000" DateFormatLine = "2006/01/02 15:04:05" DateYmdFormatLine = "2006/01/02" DateFormatLineV2 = "2006-01-02 15:04:05" DateFormatLineV3 = "2006-01-02" DateYmdNoLine = "20060102" DateymdNoLine = "060102" DateYmdNoLineV2 = "20060102150405" DateYmdNoLineV3 = "200601" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Date ¶ added in v1.23.1
func (Date) GormDataType ¶ added in v1.23.3
func (Date) MarshalJSON ¶ added in v1.23.1
func (*Date) UnmarshalJSON ¶ added in v1.23.1
type Time ¶
func (Time) GormDataType ¶ added in v1.23.3
func (Time) MarshalJSON ¶
func (*Time) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.