Documentation
¶
Overview ¶
Package conf provides some helper functions for configuration management Generally, just loading/saving configuration files
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadAndParseJSON ¶
ReadAndParseJSON will attempt to load the given config path and unmarshal it into T. If it fails for whatever reason, it will return an empty T and the error.
func ReadAndParseYAML ¶
ReadAndParseYAML will attempt to load the given config path and unmarshal it into T. If it fails for whatever reason, it will return an empty T and the error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.