Documentation ¶
Index ¶
- func GetBool(section, key string, _def ...bool) bool
- func GetFloat32(section, key string, _def ...float32) float32
- func GetFloat64(section, key string, _def ...float64) float64
- func GetInt(section, key string, _def ...int) int
- func GetInt32(section, key string, _def ...int32) int32
- func GetInt64(section, key string, _def ...int64) int64
- func GetInt8(section, key string, _def ...int8) int8
- func GetStr(section, key string, _def ...string) string
- func GetUint(section, key string, _def ...uint) uint
- func GetUint32(section, key string, _def ...uint32) uint32
- func GetUint64(section, key string, _def ...uint64) uint64
- func GetUint8(section, key string, _def ...uint8) uint8
- func KeyExists(section, key string) bool
- func New(file string)
- func SectionExists(section string) bool
- func Set(section, key, value string)
- type XConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFloat32 ¶
func GetFloat64 ¶
func SectionExists ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.