Documentation ¶
Overview ¶
Package tomlcfg provides helper functions to load and save toml config files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
Load receives required title string and struct interface and builds file name path from title and returns error code after attempting to fill interface.
func MustLoad ¶
func MustLoad(title string, v interface{})
Load receives required title string and struct interface and builds file name path from title and after attempting to fill interface panics on failure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.