22 lines
455 B
Go
22 lines
455 B
Go
package lib
|
|
|
|
// Various constants used throughout the tools.
|
|
|
|
const (
|
|
// ExitSuccess is the successful exit status.
|
|
//
|
|
// It should be called on successful exit.
|
|
ExitSuccess = 0
|
|
|
|
// ExitFailure is the failing exit status.
|
|
ExitFailure = 1
|
|
)
|
|
|
|
const (
|
|
OneTrueDateFormat = "2006-01-02T15:04:05-0700"
|
|
DateShortFormat = "2006-01-02"
|
|
TimeShortFormat = "15:04:05"
|
|
TimeShorterFormat = "15:04"
|
|
TimeStandardDateTime = "2006-01-02 15:04"
|
|
)
|