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.
forestjohnson dad3f15fa3 support gcfg tags 4 years ago
ReadMe.md initial commit, one test fails which is expected 4 years ago
override.go support gcfg tags 4 years ago
override_test.go Fix bugs: Wrong type of object failed silently and object graph with cycles caused stack overflow 4 years ago

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.