Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentDomain ¶
func GetCurrentDomain() string
GetCurrentDomain returns Wechy domain based on current environment variables
func GetEnvOrDefault ¶
GetEnvOrDefault retrieves the value of the environment variable named by the key. It returns the value if available, otherwise returns defaultValue
func IsDevelopment ¶
func IsDevelopment() bool
IsDevelopment returns true on Wechy production environment
func IsProduction ¶
func IsProduction() bool
IsProduction returns true on Wechy production environment
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.