DataDog / kvexpress

## Auto-archived due to inactivity. ## Go program to move data in and out of Consul's KV store.
Apache License 2.0
129 stars 13 forks source link

So many Globals aren't required. #82

Open darron opened 8 years ago

darron commented 8 years ago

These could be simplified by moving them into constants and using Viper to load as needed.

Kind of like I've done here:

https://github.com/octohost/octo/blob/master/cmd/consul.go#L13-L34

Would also have to refactor LoadConfig() - but that wouldn't be a problem.