Documentation ¶
Index ¶
- type Config
- func (c Config) Exists(key string) bool
- func (c Config) Get(key string) string
- func (c Config) GetBool(key string) bool
- func (c Config) GetDataPath(key string) string
- func (c *Config) GetFloat64(key string) float64
- func (c Config) GetInt(key string) int
- func (c Config) GetResourcePath(key string) string
- func (c Config) GetSlice(key, sep string) []string
- func (c Config) Put(key, value string)
- func (c Config) Size() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config defines a configuration container for storing parameters.
func (Config) GetDataPath ¶
GetDataPath returns the path of the 'key' parameter.
func (*Config) GetFloat64 ¶
GetFloat64 returns the float64 value of the 'key' parameter.
func (Config) GetResourcePath ¶
GetResourcePath returns the path of the 'key' parameter.
Click to show internal directories.
Click to hide internal directories.