Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDatastore ¶
GetDatastore reads the configuration file and initializes a datastore with its configuration.
func LoggerWithTask ¶
func ReadConfig ¶
func ReadConfig(v interface{}) error
ReadConfig reads the default config file from path (or the environment) variable that overrides it and parses it into v
func RequireConfig ¶
RequireConfig checks for the given val, exits with error if empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.