Documentation
¶
Overview ¶
Package env
Package env
Index ¶
- func GetEnv(key string) string
- func GetEnvs(keys ...string) []string
- func IsEnvEqual(env, dst string) bool
- func SetEnvContext(c context.Context, key, val string) context.Context
- type EnvLoader
- func (e *EnvLoader) Bool() bool
- func (e *EnvLoader) Float32() float32
- func (e *EnvLoader) Float64() float64
- func (e *EnvLoader) Get(key string) *EnvLoader
- func (e *EnvLoader) GetValue(key string) string
- func (e *EnvLoader) Int() int
- func (e *EnvLoader) Int16() int16
- func (e *EnvLoader) Int32() int32
- func (e *EnvLoader) Int64() int64
- func (e *EnvLoader) Int8() int8
- func (e *EnvLoader) Interface() interface{}
- func (e *EnvLoader) Raw() string
- func (e *EnvLoader) Time() time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.