Documentation
¶
Index ¶
- Constants
- func GetDtRange(t time.Time) (time.Time, time.Time)
- func GetMonthRange(t time.Time) (time.Time, time.Time)
- func GetQuarterRange(t time.Time) (time.Time, time.Time)
- func GetTomorrow(t time.Time) time.Time
- func GetWeekRange(t time.Time) (time.Time, time.Time)
- func GetYearRange(t time.Time) (time.Time, time.Time)
- func GetYesterday(t time.Time) time.Time
- func ToDate(t time.Time) string
- func ToTimestamp(t time.Time) string
Constants ¶
View Source
const ( DateTimeLayout = "2006-01-02" TimestampLayout = "2006-01-02 15:04:05" )
Variables ¶
This section is empty.
Functions ¶
func ToTimestamp ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.