Documentation
¶
Index ¶
- Constants
- func Add(key string, value interface{}, description string, opts ...Option)
- func Bool(path string) bool
- func BoolMap(path string) map[string]bool
- func Bools(path string) []bool
- func Bytes(path string) []byte
- func Duration(path string) time.Duration
- func Exists(path string) bool
- func Float64(path string) float64
- func Float64Map(path string) map[string]float64
- func Float64s(path string) []float64
- func Int(path string) int
- func Int64(path string) int64
- func Int64Map(path string) map[string]int64
- func Int64s(path string) []int64
- func IntMap(path string) map[string]int
- func Ints(path string) []int
- func Load()
- func String(path string) string
- func StringMap(path string) map[string]string
- func Strings(path string) []string
- func Time(path, layout string) time.Time
- func Unmarshal(o interface{}) error
- func UnmarshalWithPath(path string, o interface{}) error
- type Config
- type Option
- type Options
Constants ¶
View Source
const ConfArgument = "conf"
View Source
const ConfEnvironment = "CONF"
Variables ¶
This section is empty.
Functions ¶
func Float64Map ¶
func UnmarshalWithPath ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.