config

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(k string) interface{}

Get value from config

func GetString added in v0.1.0

func GetString(k string) string

GetString value from config

func GetStringSlice added in v0.1.0

func GetStringSlice(k string) []string

GetStringSlice value from config

func Load

func Load()

Load config.toml

func Save

func Save() error

Save config.toml

func Set

func Set(k string, v interface{}) error

Set value to config

Types

This section is empty.

Jump to

Keyboard shortcuts

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