package
module
Version:
v0.0.0-...-fbaf9a3
Opens a new window with list of versions in this module.
Published: Apr 7, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 11
Opens a new window with list of known importers.
README
¶
config
Config wrapper library based on viper.
Installing
go get github.com/alexferl/golib/config
Documentation
¶
View Source
const (
AppName = "app-name"
EnvName = "env-name"
)
Config holds all global configuration for our program.
New creates a Config instance.
BindFlags normalizes and parses the command line flags.
BindFlagsWithConfigPaths normalizes, parses the command line flags and read in config files.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.