Documentation ¶
Index ¶
- Constants
- Variables
- func Bool(key string) bool
- func BoolWithDefault(key string, defaultValue bool) bool
- func GetEnvironment() string
- func Int(key string) int
- func IntWithDefault(key string, defaultValue int) int
- func IsDevelopment() bool
- func String(key string) string
- func StringWithDefault(key string, defaultValue string) string
- type Env
Constants ¶
View Source
const APP_ENV = "APP_ENV"
Variables ¶
View Source
var Module = fx.Provide(
newEnvironment,
)
Functions ¶
func BoolWithDefault ¶
func GetEnvironment ¶
func GetEnvironment() string
func IntWithDefault ¶
func IsDevelopment ¶
func IsDevelopment() bool
func StringWithDefault ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.