conf

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(key string) bool

func BoolDefault

func BoolDefault(key string, dv bool) bool

func BoolMap

func BoolMap(key string) map[string]bool

func IntDefault added in v0.1.6

func IntDefault(key string, dv int) int

func IntMap

func IntMap(key string) map[string]int

func LoadConfig

func LoadConfig() error

func String

func String(key string) string

func StringDefault

func StringDefault(key, dv string) string

func StringMap added in v0.1.6

func StringMap(key string) map[string]string

func Strings added in v0.1.6

func Strings(key string) []string

func StringsDefault added in v0.1.6

func StringsDefault(key string, dv []string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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