config icon indicating copy to clipboard operation
config copied to clipboard

12 factor configuration as a typesafe struct in as little as two function calls

Results 2 config issues
Sort by recently updated
recently updated
newest added

https://pkg.go.dev/testing@master#T.Setenv This new function added in 1.17 sets env vars and automatically cleans them up

A concern I have is handling command line args. I personally have the pref to this order of precedence for configuration: - config file - can be overridden by env...