Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Env ¶
func Env() string
Env Returns the value exported to GOENV in the system. Defaults to 'development'.
func IsDevelopment ¶
func IsDevelopment() bool
func IsEnv ¶
IsEnv helper function for cleaner boolean conditions if isEnv("production) { ... } else { ... } //etc
func IsProduction ¶
func IsProduction() bool
func MustLoadEnv ¶
func MustLoadEnv()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.