Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DebugMode is the debug mode. DebugMode = "debug" // TestMode is the test mode. TestMode = "test" // PreReleaseMode is the pre-release mode. PreReleaseMode = "pre-release" // ReleaseMode is the release mode. ReleaseMode = "release" )
Variables ¶
This section is empty.
Functions ¶
func IsPreReleaseMode ¶ added in v2.6.0
func IsPreReleaseMode() bool
IsPreReleaseMode reports whether the run mode is pre-release.
func IsReleaseMode ¶
func IsReleaseMode() bool
IsReleaseMode reports whether the run mode is release.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.