config

package
v0.0.0-...-9528f6d Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(key string, defaultValue ...interface{}) interface{}

Get gets the value for the key in the config.

func GetBool

func GetBool(key string, defaultValue ...interface{}) bool

GetBool gets the bool value for the key in the config.

func GetInt

func GetInt(key string, defaultValue ...interface{}) int

GetInt gets the int value for the key in the config.

func GetString

func GetString(key string, defaultValue ...interface{}) string

GetStringSlice gets the string value for the key in the config.

func Set

func Set(key string, value interface{})

Set sets the value for the key in the config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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