Documentation ¶
Overview ¶
Package flagenv allows setting flags from the command line.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Populate ¶
Populate sets the flags in set from the environment. The environment value used will be the name of the flag in upper case, with '-' changed to '_', and (if prefixis not the empty string) prepended with prefix and an underscore. So, if prefix is "DOORMAN", and the flag's name "foo-bar", the environment variable DOORMAN_FOO_BAR will be used.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.