timeformat

package
v0.1.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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

func NowString

func NowString() string

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)

func (*TimeFormat) Encode

func (codec *TimeFormat) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (*TimeFormat) IsEmpty

func (codec *TimeFormat) IsEmpty(ptr unsafe.Pointer) bool

func (*TimeFormat) Time

func (codec *TimeFormat) Time(ptr unsafe.Pointer, stream *jsoniter.Stream)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL