Hacker News new | ask | show | jobs
by whilenot-dev 335 days ago
I always thought that an unset boolean env var should define the default behavior for a production environment and any of these set with a value of length>0 will flip it (AUTH_DISABLED, MOCK_ENABLED, etc.). I thought env vars are always considered optional by convention.
1 comments

At least in the case of cgo_enabled it does define the default behaviour