Documentation ¶ Overview ¶ Package timestamp provides utilities for handling timestamps Index ¶ func GetTime() time.Time Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetTime ¶ func GetTime() time.Time GetTime returns the current time in UTC, honoring SOURCE_DATE_EPOCH if set. SOURCE_DATE_EPOCH is a Unix timestamp used for reproducible builds. If SOURCE_DATE_EPOCH is not set or invalid, it returns time.Now().UTC(). Types ¶ This section is empty. Source Files ¶ View all Source files timestamp.go Click to show internal directories. Click to hide internal directories.