Documentation
¶
Index ¶
- Constants
- func Format(t time.Time) string
- func Format2Milli(t time.Time) string
- func IsStrTime(v interface{}) bool
- func IsTime(v interface{}) bool
- func IsUnixTime(v interface{}) bool
- func Now() string
- func Parse(s string) (time.Time, error)
- func ParseMilli(s string) (time.Time, error)
- func Unix2Time(unix int64) time.Time
Constants ¶
View Source
const ( DefaultFormatLayout = "2006-01-02 15:04:05" DefaultFormat2MilliLayout = "2006-01-02 15:04:05.00" )
Variables ¶
This section is empty.
Functions ¶
func Format2Milli ¶
func IsUnixTime ¶
func IsUnixTime(v interface{}) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.