7 ms·
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 wil
by whilenot-dev 1y 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.
- anttiharju 1y agoAt least in the case of cgo_enabled it does define the default behaviour