Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EnvMapStr = map[Env]string{ EnvLocal: "local", EnvDevelopment: "dev", EnvTest: "test", EnvPreRelease: "pre", EnvProduction: "prod", }
EnvMapStr 环境映射字符串
View Source
var EnvMapSuffixStr = map[Env]string{ EnvLocal: "", EnvDevelopment: "dev", EnvTest: "test", EnvPreRelease: "pre", EnvProduction: "", }
EnvMapSuffixStr 环境后缀
View Source
var Getenv string
View Source
var StrMapEnv = map[string]Env{ "local": EnvLocal, "dev": EnvDevelopment, "test": EnvTest, "pre": EnvPreRelease, "prod": EnvProduction, }
StrMapEnv 字符串映射环境
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.