Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version string // This can use `go build -ldflags="-X 'github.com/bizshuk/gosdk/config.Version=$(cat version)'"` to inject version Profile string // dev, qa, cert, prod, default: profile in .env )
Functions ¶
func ConfigFileName ¶
Load more config from `profile` in .env and manually added
func GetProfile ¶
func GetProfile() string
func LoadEnvConfig ¶
func LoadEnvConfig(filenames []string)
func LoadViperConfig ¶
func LoadViperConfig()
func LoadViperProfile ¶
func LoadViperProfile() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.