mapstructure
mapstructure copied to clipboard
Add configuration option: ErrorUnsetFields.
Allows the user to see if a a struct has not been populated fully.
In my project, I need a one to one mapping between the map and my struct, and need to catch if a struct field has been left in the default state because of a missing key in the original map.
:+1:
+1 for this feature
also +1 for this feature