Documentation
¶
Index ¶
Constants ¶
View Source
const ( ExitOK = 0 ExitFailure = 1 // unexpected internal error ExitUsage = 2 // bad flags, bad config, missing path ExitProblems = 3 // doctor found problems )
Exit codes. Scripts and hooks can rely on these staying stable.
Variables ¶
View Source
var Version = "dev"
Version is set via ldflags at build time.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.