Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppEnvironment ¶
func AppEnvironment() string
AppEnvironment returns the name of the current environment the app is in
func GetDefault ¶
GetDefault returns the value of the specified environment variable If the variable is not defined or is empty, return the default value
func IsDevelopment ¶
func IsDevelopment() bool
IsDevelopment returns true if the current environment is development
func IsProduction ¶
func IsProduction() bool
IsProduction returns if the current environment is production
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.