Documentation ¶
Index ¶
- func All() []string
- func Build(m map[string]string) []string
- func Contains(key string) bool
- func Get(key string, def ...string) string
- func GetVar(key string, def ...interface{}) *dvar.Var
- func GetWithCmd(key string, def ...interface{}) *dvar.Var
- func Map() map[string]string
- func Remove(key ...string) error
- func Set(key string, value string) error
- func SetMap(m map[string]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetWithCmd ¶ added in v0.1.1
GetWithCmd 如果环境变量中没有,则去cmd中获取
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.