# README
env
全局公用环境变量
# Functions
AppVersion get app version.
BuildTime get buildTime.
DeployColor is the identification of different experimental group in one caster cluster.
DeployEnvironment get deploy environment.
Env returns the value of the given environment variable.
EnvInt returns an int value of the given environment variable.
GetEnvKey get env key: NEXT_{env}.
GitCommit git commit.
GitTag git tag.
GoVersion get go version.
HostID get host id.
Hostname get hostname.
IntEnvOr returns the int value of the environment variable with name key if it exists and the value is an int.
IsDev is dev environment.
IsProduction is production environment.
IsStaging is staging environment.
IsTest is test environment.
StartTime get start time.
StringEnvOr returns the string value of the environment variable with name key if it exists and the value is an string.
WorkDir work path.
# Constants
No description provided by the author
No description provided by the author
开发环境.
No description provided by the author
No description provided by the author
No description provided by the author
线上环境.
预发环境.
环境环境.
No description provided by the author