Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ModeDev is the development release value ModeDev = "development" // ModeProd is the production release value ModeProd = "production" )
Variables ¶
View Source
var ( // Version of the release (see scripts/build.sh script) Version string // BuildTime is ISO-8601 UTC string representation of the time of // the build BuildTime string // BuildMode is the build mode of the release. Should be either // production or development. BuildMode = ModeDev )
Functions ¶
func IsDevRelease ¶
func IsDevRelease() bool
IsDevRelease returns whether or not the binary is a development release
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.