Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SecondNullTime ¶
SecondNullTime 精确到秒
func ToSecondNullTime ¶
func ToSecondNullTime(t time.Time) SecondNullTime
ToNullTime 根据 time类型快速生成 SecondNullTime
func (*SecondNullTime) MarshalJSON ¶
func (s *SecondNullTime) MarshalJSON() (data []byte, err error)
MarshalJSON json 序列化接口
func (*SecondNullTime) UnmarshalJSON ¶
func (s *SecondNullTime) UnmarshalJSON(b []byte) (err error)
UnmarshalJSON json 反序列化接口
Click to show internal directories.
Click to hide internal directories.