Documentation ¶
Index ¶
- Constants
- func Add(envMap map[string]string, overload bool)
- func Get(key string) string
- func Load(filename string, overload bool) error
- func MustParseEnv(data string) map[string]string
- func ParseEnv(data string) (map[string]string, error)
- type Env
- func (e Env) Add(key, value string)
- func (e Env) Get(key string) string
- func (e Env) GetBool(key string) bool
- func (e Env) GetDefault(key, dflt string) string
- func (e Env) GetFloat(key string) float64
- func (e Env) GetInt(key string) int
- func (e Env) GetInt32(key string) int32
- func (e Env) GetInt64(key string) int64
Constants ¶
View Source
const LINE = `` /* 419-byte string literal not displayed */
LINE is the regexp matching a single line
Variables ¶
This section is empty.
Functions ¶
func MustParseEnv ¶
MustParseEnv works the same as Parse but panics on error
Types ¶
Click to show internal directories.
Click to hide internal directories.