Documentation ¶
Index ¶
- type Cfg
- func (this *Cfg) Bool(key string, defaultValue bool) bool
- func (this *Cfg) BoolOrFalse(key string) bool
- func (this *Cfg) Int(key string, defaultValue int) int
- func (this *Cfg) Int64(key string, defaultValue int64) int64
- func (this *Cfg) Int64OrZero(key string) int64
- func (this *Cfg) IntOrZero(key string) int
- func (this *Cfg) List(key string) []string
- func (this *Cfg) Load(file string)
- func (this *Cfg) Str(key string, defaultValue string) string
- func (this *Cfg) StrOrEmpty(key string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.