Versions in this module Expand all Collapse all v1 v1.0.0 Oct 1, 2021 Changes in this version + func Bool(key string, defaultValue bool) *bool + func BoolArray(key string, defaultValue []bool) *[]bool + func BoolArrayVar(ptr *[]bool, key string, defaultValue []bool) + func BoolVar(ptr *bool, key string, defaultValue bool) + func Duration(key string, defaultValue time.Duration) *time.Duration + func DurationArray(key string, defaultValue []time.Duration) *[]time.Duration + func DurationArrayVar(ptr *[]time.Duration, key string, defaultValue []time.Duration) + func DurationVar(ptr *time.Duration, key string, defaultValue time.Duration) + func Float64(key string, defaultValue float64) *float64 + func Float64Array(key string, defaultValue []float64) *[]float64 + func Float64ArrayVar(ptr *[]float64, key string, defaultValue []float64) + func Float64Var(ptr *float64, key string, defaultValue float64) + func Int64(key string, defaultValue int64) *int64 + func Int64Array(key string, defaultValue []int64) *[]int64 + func Int64ArrayVar(ptr *[]int64, key string, defaultValue []int64) + func Int64Var(ptr *int64, key string, defaultValue int64) + func Parse(path string) + func ParseDefined(path string) (map[string]interface{}, error) + func String(key string, defaultValue string) *string + func StringArray(key string, defaultValue []string) *[]string + func StringArrayVar(ptr *[]string, key string, defaultValue []string) + func StringVar(ptr *string, key string, defaultValue string) + func Time(key string, defaultValue time.Time) *time.Time + func TimeArray(key string, defaultValue []time.Time) *[]time.Time + func TimeArrayVar(ptr *[]time.Time, key string, defaultValue []time.Time) + func TimeVar(ptr *time.Time, key string, defaultValue time.Time) + func Uint64(key string, defaultValue uint64) *uint64 + func Uint64Array(key string, defaultValue []uint64) *[]uint64 + func Uint64ArrayVar(ptr *[]uint64, key string, defaultValue []uint64) + func Uint64Var(ptr *uint64, key string, defaultValue uint64) + type Tree map[string]interface + func (c Tree) Bool(key string, defaultValue bool) *bool + func (c Tree) BoolArray(key string, defaultValue []bool) *[]bool + func (c Tree) BoolArrayVar(ptr *[]bool, key string, defaultValue []bool) + func (c Tree) BoolVar(ptr *bool, key string, defaultValue bool) + func (c Tree) Duration(key string, defaultValue time.Duration) *time.Duration + func (c Tree) DurationArray(key string, defaultValue []time.Duration) *[]time.Duration + func (c Tree) DurationArrayVar(ptr *[]time.Duration, key string, defaultValue []time.Duration) + func (c Tree) DurationVar(ptr *time.Duration, key string, defaultValue time.Duration) + func (c Tree) Float64(key string, defaultValue float64) *float64 + func (c Tree) Float64Array(key string, defaultValue []float64) *[]float64 + func (c Tree) Float64ArrayVar(ptr *[]float64, key string, defaultValue []float64) + func (c Tree) Float64Var(ptr *float64, key string, defaultValue float64) + func (c Tree) Int64(key string, defaultValue int64) *int64 + func (c Tree) Int64Array(key string, defaultValue []int64) *[]int64 + func (c Tree) Int64ArrayVar(ptr *[]int64, key string, defaultValue []int64) + func (c Tree) Int64Var(ptr *int64, key string, defaultValue int64) + func (c Tree) Parse(path string) + func (c Tree) ParseDefined(path string) (map[string]interface{}, error) + func (c Tree) String(key string, defaultValue string) *string + func (c Tree) StringArray(key string, defaultValue []string) *[]string + func (c Tree) StringArrayVar(ptr *[]string, key string, defaultValue []string) + func (c Tree) StringVar(ptr *string, key string, defaultValue string) + func (c Tree) Time(key string, defaultValue time.Time) *time.Time + func (c Tree) TimeArray(key string, defaultValue []time.Time) *[]time.Time + func (c Tree) TimeArrayVar(ptr *[]time.Time, key string, defaultValue []time.Time) + func (c Tree) TimeVar(ptr *time.Time, key string, defaultValue time.Time) + func (c Tree) Uint64(key string, defaultValue uint64) *uint64 + func (c Tree) Uint64Array(key string, defaultValue []uint64) *[]uint64 + func (c Tree) Uint64ArrayVar(ptr *[]uint64, key string, defaultValue []uint64) + func (c Tree) Uint64Var(ptr *uint64, key string, defaultValue uint64) + func (c Tree) Wildcard(key string, defaultValue map[string]interface{}, require bool, strict bool) *map[string](map[string]interface{}) + func (c Tree) WildcardVar(ptr *map[string](map[string]interface{}), key string, ...)