5b83f98fb8fb10074781ffab7f2239678d14b217
Viper's AutomaticEnv does not bind nested keys when sections are commented out in YAML. Add explicit BindEnv calls for APP_DATABASE_REPLICA_* variables so they work when the replica section is not defined in config.yaml. Also bind optional connection pool parameters (MAX_IDLE_CONNS, MAX_OPEN_CONNS).
Description
No description provided
Languages
Go
99.8%