Documentation ¶
Index ¶
- type Config
- func (config *Config) ReadAny(name string, defaultValue ...any) any
- func (config *Config) ReadBool(name string, defaultValue ...int) bool
- func (config *Config) ReadInt(name string, defaultValue ...int) int
- func (config *Config) ReadInt32(name string, defaultValue ...int) int32
- func (config *Config) ReadInt64(name string, defaultValue ...int) int64
- func (config *Config) ReadIntSlice(name string, defaultValue ...int) []int
- func (config *Config) ReadString(name string, defaultValue ...string) string
- func (config *Config) ReadStringSlice(name string, defaultValue ...[]string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func NewYamlConfig ¶
func (*Config) ReadIntSlice ¶ added in v0.2.1
func (*Config) ReadString ¶
Click to show internal directories.
Click to hide internal directories.