kelseyhightower / envconfig

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

Add support for slices, maps and nested structs #12

Closed mendelgusmao closed 8 years ago

mendelgusmao commented 10 years ago

Simpler than I imagined. Hope it helps.

kelseyhightower commented 9 years ago

@MendelGusmao Can we do this with struct tags?

kelseyhightower commented 9 years ago

@rafecolton I think this would be cleaner with struct tags vs name conventions.

teepark commented 8 years ago

This feels a little invasive, adding a dependency -- also not sure what the use-case is for maps. We should be getting support for ,-delimited slices soon from #30, and can maybe look at supporting nested structs building on that base.