You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type Config struct {
BACKEND_URL string `envDefault:"localhost:8000"`
}
and using: opts := env.Options{UseFieldNameByDefault: true}
My app crashes because it cant find the env var BACKENDURL. I think the underscore should be kept given that it is the convention for writing env vars
The text was updated successfully, but these errors were encountered:
given these config:
and using:
opts := env.Options{UseFieldNameByDefault: true}
My app crashes because it cant find the env var BACKENDURL. I think the underscore should be kept given that it is the convention for writing env vars
The text was updated successfully, but these errors were encountered: