# Functions
GetTagMappings returns the viper .BindEnv mappings for an entire config struct.
NewConfig creates a new Config object used to initialize configuration.
NewDBFlagSet returns a list of flags contained within the [db] section of a config.
NewFlagSet creates the set of flags specific to the server and db config and the root level config (like --version, --env).
NewRootFlagSet returns a list of top level flags (flags that arent contained inside an environment section in the config).
NewServerFlagSet returns a list of flags contained within the [server] section of a config.
UnmarshalAppConfig unmarshals the viper's configured config file into the passed in cfg object containing an AppConfig.
ValidateDBConfig returns an error if any of the required db config fields are not set to their appropriate values.
# Structs
AppConfig struct includes the necessary abcweb config components.
Config object used to initialize configuration.
DBConfig holds the Postgres database config for the app loaded through environment variables, or the config.toml file.
Mapping represents a chain which is a list of nested object mapstructures joined together and seperated by dots (i.e.
ServerConfig is config for the app loaded through environment variables, command line, or the config.toml file.
# Type aliases
Mappings is a slice of mapping.