Documentation ¶
Index ¶
- Variables
- func GetBool(key string, defaultValue ...bool) bool
- func GetInt(key string, defaultValue ...int) int
- func GetInt64(key string, defaultValue ...int64) int64
- func GetInt64List(key string, splitter string, defaultValue ...[]int64) []int64
- func GetIntList(key string, splitter string, defaultValue ...[]int) []int
- func GetString(key string, defaultValue ...string) string
- func GetStringList(key string, splitter string, defaultValue ...[]string) []string
- func GinRelease() bool
- func Init(ks interface{}, upper bool, prefix ...string)
- func IsDebug() bool
- func IsLocal() bool
- func IsProd() bool
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultEnv = struct { Mode string `env:"prod"` }{}
Functions ¶
func GetStringList ¶
func GinRelease ¶
func GinRelease() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.