koding / multiconfig

Load configuration from multiple sources in Go
http://godoc.org/github.com/koding/multiconfig
MIT License
454 stars 64 forks source link

Issue #44 print fields in alphabetical order, like flags #45

Closed client9 closed 8 years ago

client9 commented 8 years ago

this is some minor cut-n-paste on the map[string]... to []string, but I didn't feel it was worth writing a function. Feel free to adjust.

regards,

n

client9 commented 8 years ago

Added fix for #46 as well.

cihangir commented 8 years ago

Thanks @client9 🎉

client9 commented 8 years ago

oh awesome.

I can redo for clarity if you want.

Structs package has .Names() function where it returns the field names.!!
cihangir commented 8 years ago

It wont clean up much code so not needed, thanks for asking.