Documentation ¶
Index ¶
Constants ¶
View Source
const (
//DateFormat = "2006-01-02"
TimeFormat = "2006-01-02 15:04:05"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NullTime ¶
func (NullTime) MarshalJSON ¶
Json 序列化函数 如果Valid为 false 则序列化为空
func (*NullTime) UnmarshalJSON ¶
Json反序列化 如果反编译失败 Valid 为false 表示时间为Null
Click to show internal directories.
Click to hide internal directories.