Documentation ¶
Index ¶
- func CopyPtr(t *time.Time) *time.Time
- func Difference(t1 *time.Time, t2 *time.Time) string
- func LocalHourNow() string
- func LocalTimestamp(t *time.Time) string
- func LocalTimestampHuman(t *time.Time) string
- func MicrosecsStr(t time.Time) string
- func MillisToTime(epochMillis int64) time.Time
- func MillisecsStr(t time.Time) string
- func OlderThanSeconds(t time.Time, secs float64) bool
- func PtrsEqual(t1 *time.Time, t2 *time.Time) bool
- func Since(t *time.Time) string
- func Timestamp(t time.Time) string
- func ToMillis(t time.Time) int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LocalHourNow ¶
func LocalHourNow() string
func LocalTimestamp ¶
func LocalTimestampHuman ¶
func MicrosecsStr ¶
func MillisToTime ¶ added in v0.8.0
func MillisecsStr ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.