Documentation
¶
Index ¶
- func Get(key string) string
- func GetInt(key string) int
- func GetIntOr(key string, def int) int
- func GetOr(key, def string) string
- func Open(filename string) error
- func Put(key string, value string)
- func Save() error
- func String() string
- type File
- func (f *File) Get(key string) string
- func (f *File) GetArray(key string) []*Node
- func (f *File) GetInt(key string) int
- func (f *File) GetIntOr(key string, def int) int
- func (f *File) GetOr(key, def string) string
- func (f *File) Put(key string, value string) *File
- func (f *File) Save() error
- func (f *File) String() string
- type Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type File ¶ added in v0.3.0
type File struct {
// contains filtered or unexported fields
}
func (*File) Get ¶ added in v0.3.0
Get retrieve string value by key or return empty string if not found
Click to show internal directories.
Click to hide internal directories.