Documentation ¶
Overview ¶
Package build utilizes build tags and package testing API to determine the environment that this binary was built to target.
- Prod is the default
- Test is automatically set in test binaries, e.g. when using `go test`
- Dev can be set with the 'dev' build tag, for standard builds or test binaries
Index ¶
Constants ¶
View Source
const ( Prod = "prod" Dev = "dev" Test = "test" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.