package
Version:
v0.9.0
Opens a new window with list of versions in this module.
Published: Apr 11, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
IncludeUnset toggles the loading of unset flags and their respective default values.
Default behavior is to ignore any unset flags.
NewSource returns a config source for integrating parsed flags.
Hyphens are delimiters for nesting, and all keys are lowercased.
Example:
dbhost := flag.String("database-host", "localhost", "the db host name")
{
"database": {
"host": "localhost"
}
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.