configurit

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: MIT, MIT Imports: 5 Imported by: 2

README

Configurit

This is a fork of the Configurit Library to be used for Aeridya.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(path string) error

Types

type Conf

type Conf struct {
	Name string
	// contains filtered or unexported fields
}
var (
	Config *Conf
)

func (Conf) GetBool

func (c Conf) GetBool(section string, key string) (bool, error)

func (Conf) GetFloat32

func (c Conf) GetFloat32(section string, key string) (float32, error)

func (Conf) GetFloat64

func (c Conf) GetFloat64(section string, key string) (float64, error)

func (Conf) GetInt

func (c Conf) GetInt(section string, key string) (int, error)

func (Conf) GetString

func (c Conf) GetString(section string, key string) (string, error)

func (Conf) SectionExist added in v1.0.2

func (c Conf) SectionExist(key string) bool

Jump to

Keyboard shortcuts

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