config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(key string) string

Get fetch configuration as string value

func GetBoolean

func GetBoolean(key string) bool

GetBoolean fetch configuration as boolean value

func GetFloat

func GetFloat(key string) float64

GetFloat fetch configuration as float value

func GetInt

func GetInt(key string) int

GetInt fetch configuration as integer value

func LoadConfig

func LoadConfig()

LoadConfig loads configuration file

func Set

func Set(key, value string)

Set configuration key value

func SetConfig

func SetConfig(key, value string)

SetConfig put configuration key value

Types

This section is empty.

Jump to

Keyboard shortcuts

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