Grafana/InfluxData style config overrides based on environment variables
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forest 0949f7444c update grafana link 5 years ago
ReadMe.md update grafana link 5 years ago
override.go
override_test.go

ReadMe.md

Uses reflection to override values in an arbitrary object based on environment variables, following the convention outlined by Grafana/InfluxData.

Ripped from influxdb source code with some modifications.

See the test for a usage example.