Documentation
¶
Overview ¶
Package timeutil provides helpers for working with pkg/time.Time.
Index ¶
Constants ¶
View Source
const (
TS_FORMAT = "2006_01_02_15_04_05"
)
Variables ¶
This section is empty.
Functions ¶
func Timestamp ¶
Timestamp returns a timestamp string based on the input pkg/time.Time.
Uses the: "2006_01_02_15_04_05" template for formatting.
func TimestampNow ¶
func TimestampNow() string
TimestampNow returns a timestamp string based on pkg/time.Now().
Uses the: "2006_01_02_15_04_05" template for formatting.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.