Documentation ¶
Index ¶
- func LoadDirectory(dirPath string) (map[string]interface{}, error)
- func LoadDirectoryMap(dirPath string) (map[string]map[string]interface{}, error)
- func LoadDirectorySlice(dirPath string) (map[string][]interface{}, error)
- func LoadFile(path string) (interface{}, error)
- func LoadFileMap(path string) (map[string]interface{}, error)
- func LoadFileSlice(path string) ([]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadDirectory ¶
LoadDirectory loads a whole directory of .yaml config files.
func LoadDirectoryMap ¶
LoadDirectoryMap loads a whole directory of .yaml config files.
func LoadDirectorySlice ¶
LoadDirectorySlice loads a whole directory of .yaml config files.
func LoadFileMap ¶
LoadFileMap loads a yaml config file which has a hierachical structure
func LoadFileSlice ¶
LoadFileSlice loads a yaml config file which is a list
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.