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.
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.
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.