package
Version:
v1.3.0
Opens a new window with list of versions in this module.
Published: Jul 14, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetRunEnv the current runtime environment
GetRunEnvKey the key of the runtime environment
Is reports whether the server is running in its env configuration
IsDev reports whether the server is running in its development configuration
IsGray reports whether the server is running in its gray configuration
IsProd reports whether the server is running in its production configuration
IsTest reports whether the server is running in its testing configuration
SetRunEnvKey set run environment key
REnv custom type
const (
DefaultREnv = Develop
Develop REnv = "develop"
Test REnv = "test"
Gray REnv = "gray"
Product REnv = "product"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.