Documentation
¶
Overview ¶
Package dbtime,A quickly mysql access component.
Copyright 2023 The daog Authors. All rights reserved.
Package dbtime,A quickly mysql access component.
Copyright 2023 The daog Authors. All rights reserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DateFormat = "2006-01-02" DatetimeFormat = "2006-01-02 15:04:05" )
Functions ¶
This section is empty.
Types ¶
type NormalDate ¶
func (NormalDate) MarshalJSON ¶
func (ndt NormalDate) MarshalJSON() ([]byte, error)
func (*NormalDate) UnmarshalJSON ¶
func (ndt *NormalDate) UnmarshalJSON(b []byte) error
type NormalDatetime ¶
func (NormalDatetime) MarshalJSON ¶
func (ndt NormalDatetime) MarshalJSON() ([]byte, error)
func (*NormalDatetime) UnmarshalJSON ¶
func (ndt *NormalDatetime) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.