setting

package
v0.0.0-...-8b35975 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "1.0"
	Config  appConfig
)

Config stores the application-wide configurations

Functions

func BindEnvs

func BindEnvs(iface interface{}, vp *viper.Viper, parts ...string)

BindEnvs use to bind env vars

func LoadConfig

func LoadConfig(configPaths ...string) error

LoadConfig loads configuration from the given list of paths and populates it into the Config variable.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL