Documentation ¶
Index ¶
- Constants
- func FuncTiming(fn func()) time.Duration
- func GetNowDateStr() string
- func GetNowDateTimeStr() string
- func GetNowTime() time.Time
- func GetNowTimeStr() string
- func IsZero(t time.Time) bool
- func Location() *time.Location
- func ParseDataTimeToStr(tm time.Time) string
- func ParseDataToStr(tm time.Time) string
- func ParseDate(dateStr string) (time.Time, error)
- func ParseDateTime(dateTimeStr string) (time.Time, error)
- func ParseTime(timeStr string) (time.Time, error)
- func ParseTimeToStr(tm time.Time) string
Constants ¶
View Source
const ( LayoutDate = "2006-01-02" LayoutTime = "15:04:05" LayoutDateTime = "2006-01-02 15:04:05" )
Variables ¶
This section is empty.
Functions ¶
func GetNowTime ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.