Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseConfigFile ¶
ParseConfigFile parses the provided reader as TOML and sets each found key on the provided set function
It supports TOML tables by concatenating nested table keys together with a single "-" character
For example, given the following document:
[config] key = value [config.property] key = other-value
The following flags can be set: flag.String("config-key", "", "some config flag") flag.String("config-property-key", "", "some other config flag")
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.