Documentation ¶
Index ¶
- type Config
- func (c Config) AllHash() (data map[string]map[string]string)
- func (c Config) BaseDir() string
- func (c Config) DefaultBranch() string
- func (c Config) GetKey(section, key string) string
- func (c Config) GetPath(section, key string) (string, error)
- func (c Config) MustKey(section, key, defaults string) string
- func (c Config) MustPath(section, key, defaults string) string
- func (c Config) SecHash(section string) (data map[string]string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config 封装程序操作ini配置文件的方法
func (Config) DefaultBranch ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.