package
Version:
v0.0.0-...-9528f6d
Opens a new window with list of versions in this module.
Published: Oct 18, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Get(key string, defaultValue ...interface{}) interface{}
Get gets the value for the key in the config.
func GetBool(key string, defaultValue ...interface{}) bool
GetBool gets the bool value for the key in the config.
func GetInt(key string, defaultValue ...interface{}) int
GetInt gets the int value for the key in the config.
func GetString(key string, defaultValue ...interface{}) string
GetStringSlice gets the string value for the key in the config.
func Set(key string, value interface{})
Set sets the value for the key in the config.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.