envar

package
v1.0.19 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvarBool added in v0.0.145

func EnvarBool(_default bool, _var string) bool

* * This function is deprecated, use GetBool instead *

func EnvarInt

func EnvarInt(_default int, _var string) int

* * This function is deprecated, use GetInt instead *

func EnvarInt64 added in v0.0.177

func EnvarInt64(_default int64, _var string) int64

* * This function is deprecated, use GetInt64 instead *

func EnvarStr

func EnvarStr(_default string, _var string) string

* * This function is deprecated, use GetStr instead *

func GetBool added in v1.0.11

func GetBool(_default bool, _var string) bool

* * GetBool * @param bool _default * @param string _var * @return bool *

func GetInt added in v1.0.11

func GetInt(_default int, _var string) int

* * GetInt * @param int _default * @param string _var * @return int *

func GetInt64 added in v1.0.11

func GetInt64(_default int64, _var string) int64

* * GetInt64 * @param int64 _default * @param string _var * @return int64 *

func GetStr added in v1.0.11

func GetStr(_default string, _var string) string

* * GetStr * @param string _default * @param string _var * @return string *

func MetaSet added in v0.0.65

func MetaSet(name string, _default string, description, _var string) string

* * MetaSet * @param string name * @param string _default * @param string description * @param string _var * @return string *

func SetBool added in v1.0.11

func SetBool(name string, _default bool, usage, _var string) bool

* * SetBool * @param string name * @param bool _default * @param string usage * @param string _var * @return bool *

func SetIn64 added in v1.0.11

func SetIn64(name string, _default int64, usage, _var string) int64

* * SetInt64 * @param string name * @param int64 _default * @param string usage * @param string _var * @return int64 *

func SetInt added in v1.0.11

func SetInt(name string, _default int, usage, _var string) int

* * SetInt * @param string name * @param int _default * @param string usage * @param string _var * @return int *

func SetStr added in v1.0.11

func SetStr(name string, _default string, usage, _var string) string

* * SetStr * @param string name * @param string _default * @param string usage * @param string _var * @return string *

func SetvarBool added in v0.0.145

func SetvarBool(name string, _default bool, usage, _var string) bool

* * This function is deprecated, use SetBool instead *

func SetvarInt

func SetvarInt(name string, _default int, usage, _var string) int

* * This function is deprecated, use SetInt instead *

func SetvarStr

func SetvarStr(name string, _default string, usage, _var string) string

* * This function is deprecated, use SetStr instead *

Types

This section is empty.

Jump to

Keyboard shortcuts

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