Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultConfigDelimiter string = "." DefaultEnvironmentDelimiter string = "__" DefaultFilename string = "config.json" )
Variables ¶
This section is empty.
Functions ¶
func GetPaths ¶
GetPaths returns the different paths based on the operating system running this method.
func Parse ¶
func Parse[C Parsable](opts ParserOptions) (c C, err error)
Parse attempts to parse the configuration in JSON format from paths from GetPaths afterwards, environment variables override the config values.
Types ¶
Click to show internal directories.
Click to hide internal directories.