Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidEnv = errors.New("not a valid Env")
Functions ¶
func IsDevelopment ¶
func IsDevelopment() bool
IsDevelopment will return true if the APP_ENV is equals to dev.
func IsProduction ¶
func IsProduction() bool
IsProduction will return true if the APP_ENV is equals to prod.
Types ¶
type Env ¶
type Env string
Env represents the environment of the application. ENUM( local development production )
Click to show internal directories.
Click to hide internal directories.