Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RequireFile ¶
type RequireFile bool
RequireFile is an option for Load method which can be used to skip non-existing file and load all default values for the config fields.
type Unmarshaller ¶
Unmarshaller represents signature of function that will be used for unmarshalling raw file data to structured data. See:
json.Unmarshal toml.Unmarshal
var DefaultUnmarshaller Unmarshaller = toml.Unmarshal
DefaultUnmarshaller will be used for unmarshalling if no unmarshaller specified.
Click to show internal directories.
Click to hide internal directories.