uthng/kvmapstruct
Utility package does conversions between Consul KV pairs to Go struct or map[string]interface{}. It also provides several utilities to convert directly: nested map to flatten/kv map or Consul kv pairs, flatten/kv map to Go struct, Kv map to nested map, etc.
GoGPL-3.0