Documentation ¶
Index ¶
- Constants
- func NowString() string
- type TimeFormat
- func (codec *TimeFormat) Date(ptr unsafe.Pointer, stream *jsoniter.Stream)
- func (codec *TimeFormat) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
- func (codec *TimeFormat) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
- func (codec *TimeFormat) IsEmpty(ptr unsafe.Pointer) bool
- func (codec *TimeFormat) Time(ptr unsafe.Pointer, stream *jsoniter.Stream)
Constants ¶
View Source
const ( DefaultFormat = "2006-01-02 15:04:05" DateFormart = "2006-01-02" TimeFormart = "15:04:05" MicordSecondFormat = "2006-01-02 15:04:05.99999" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TimeFormat ¶
type TimeFormat struct{}
func (*TimeFormat) Date ¶
func (codec *TimeFormat) Date(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (*TimeFormat) Decode ¶
func (codec *TimeFormat) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
Click to show internal directories.
Click to hide internal directories.