Documentation
¶
Index ¶
- Variables
- func Bool(key string, def ...bool) bool
- func Duration(key string, def ...interface{}) time.Duration
- func Int(key string, def ...int) int
- func Int16(key string, def ...int16) int16
- func Int32(key string, def ...int32) int32
- func Int64(key string, def ...int64) int64
- func String(key string, def ...string) string
- func StringSlice(key string, def ...[]string) []string
- type EnvLogger
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger = &EnvLogger{ w: os.Stdout, }
Functions ¶
func StringSlice ¶ added in v1.1.0
env format SOME_ENV=a,b,c,d,e,f
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.