ini

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapTo

func MapTo(conf interface{}, source string) error

Types

type Conf

type Conf struct {
	// contains filtered or unexported fields
}
var CONF Conf

func (*Conf) Delete

func (conf *Conf) Delete(section string, key string)

func (*Conf) Get

func (conf *Conf) Get(section string, key string) string

func (*Conf) GetDefault

func (conf *Conf) GetDefault(key string) string

func (*Conf) Load

func (conf *Conf) Load(source string) error

func (*Conf) Log

func (conf *Conf) Log(info bool)

func (*Conf) MapTo

func (conf *Conf) MapTo(v interface{}) error

func (*Conf) Set

func (conf *Conf) Set(section string, key string, value string)

func (*Conf) SetBlockMode

func (conf *Conf) SetBlockMode(blockMode bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL