README ¶ Viper-loader load configs files for viper. Install go get github.com/Kamva/viper-loader Todo: Tests Add badges to readme. CI Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Constants func DefaultEnvViper(configStruct interface{}, envPrefix string, file string) (*viper.Viper, error) Constants ¶ View Source const Version = "1.0.0" Version specify current package version. Variables ¶ This section is empty. Functions ¶ func DefaultEnvViper ¶ func DefaultEnvViper(configStruct interface{}, envPrefix string, file string) (*viper.Viper, error) defaultViper make new instance of viper with viperDriver to read from .env file. file is absolute string path of file. e.g `gutil.SourcePath()+"../.env"` Types ¶ This section is empty. Source Files ¶ View all Source files env.go vesion.go Directories ¶ Show internal Expand all Path Synopsis internal util Click to show internal directories. Click to hide internal directories.