Documentation ¶
Overview ¶
Package runtime presents environment related information useful during your program's runtime.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Executable = "chinampa"
Executable is the name of our binary, and should be set using `chinampa.Execute(config chinampa.Config)`.
Functions ¶
func EnvironmentMap ¶
EnvironmentMap returns a map of environment keys for color, debugging and verbosity and their values, ready for `os.Setenv`.
func ResetParsedFlagsCache ¶
func ResetParsedFlagsCache()
ResetParsedFlagsCache resets the cached parsed global flags.
func SilenceEnabled ¶
func SilenceEnabled() bool
SilenceEnabled tells if silencing of output was requested.
func ValidationEnabled ¶
func ValidationEnabled() bool
DebugEnabled tells if debugging was requested.
func VerboseEnabled ¶
func VerboseEnabled() bool
VerboseEnabled tells if verbose output was requested.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.