Documentation
¶
Index ¶
Constants ¶
View Source
const (
TimeFormat = "2006-01-02 15:04:05"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JSONTime ¶
JSONTime 自定义时间类型,用于JSON序列化
func (JSONTime) MarshalJSON ¶
MarshalJSON 实现 json.Marshaler 接口
func (*JSONTime) UnmarshalJSON ¶
UnmarshalJSON 实现 json.Unmarshaler 接口
Click to show internal directories.
Click to hide internal directories.