kelseyhightower / envconfig

Golang library for managing configuration data from environment variables
MIT License
5.06k stars 382 forks source link

Map support #73

Closed teepark closed 7 years ago

teepark commented 7 years ago

Very similar to how slice support works: first split on the designated separators (here "," separating key/val pairs, ":" separating the key from value), then use existing parsing machinery to support various types.

ref #70

robertmeta commented 7 years ago

This is exactly what I was thinking, LGTM.