Documentation ¶
Index ¶
- Variables
- func SetPath(filePath string)
- type Config
- func (c *Config) Array() []interface{}
- func (c *Config) Bool() bool
- func (c *Config) Byte() byte
- func (c *Config) Bytes() []byte
- func (c *Config) End()
- func (c *Config) Float64() float64
- func (c *Config) Get(name string) *Config
- func (c *Config) Int() int
- func (c *Config) Int64() int64
- func (c *Config) Interface() interface{}
- func (c *Config) Interfaces() []interface{}
- func (c *Config) Ints() []int
- func (c *Config) Map() map[string]interface{}
- func (c *Config) Maps() []map[string]interface{}
- func (c *Config) Next(name interface{}) *Config
- func (c *Config) String() string
- func (c *Config) Strings() []string
- func (c *Config) Uint() uint
- func (c *Config) Uint16() uint16
- func (c *Config) Uint32() uint32
- func (c *Config) Uint64() uint64
- func (c *Config) Uint8() uint8
Constants ¶
This section is empty.
Variables ¶
View Source
var Data map[string]interface{}
Data config data
Functions ¶
Types ¶
type Config ¶ added in v1.2.8
type Config struct {
Child interface{}
}
Result ...
func (*Config) Array ¶ added in v1.2.8
func (c *Config) Array() []interface{}
Array Data type conversion.
func (*Config) Interface ¶ added in v1.3.0
func (c *Config) Interface() interface{}
Interface Data type conversion.
func (*Config) Interfaces ¶ added in v1.3.0
func (c *Config) Interfaces() []interface{}
Interfaces Data type conversion.
Click to show internal directories.
Click to hide internal directories.