simple env vars, checks if the env var exists or returns the zero value
credit goes to https://github.com/17twenty for initial authoring
env:=env.GetAsString("ENV", "dev")
isFlagEnabled:=env.GetAsBool("FEATURE_ONE")
allowList:=env.GetAsSlice("ALLOW_LIST", ",")LoadEnvFile("./.env.local")
foo:=env.GetAsString("ENV", "dev")env.WithStrictMode()
// ENV goes not exist// panicsfoo:=env.GetAsString("ENV")env.WithStrictMode()
// ENV goes not exist, returns barfoo:=env.GetAsStringWithDefault("ENV", "bar")env.WithStrictMode()
// ENV goes not exist, returns 1foo:=env.GetAsIntWithDefault("ENV", 1)