koding / multiconfig

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

Access control mechanism for tags #2

Closed fatih closed 10 years ago

fatih commented 10 years ago

I'm not quite sure we should implement this functionality in this package. Multiconfig is all about loading from multiple sources and populating a struct. If we want to introduce access control, such as requiring certain fields to be set they should be in a separate package, maybe something like multiconfig/acl. I'm open to ideas about this.

fatih commented 10 years ago

Talked with @cihangir about it and we agreed to not add ACL to multiconfig. However there will a Validator() function that is going to use to check if certain fields are set.