Document the use of struct tags to map the dissimilar fields.

This commit is contained in:
Abhinandan
2015-12-15 12:57:56 -05:00
committed by Steve Francia
parent 87d443c19b
commit 823bc1371b
+1
View File
@@ -433,6 +433,7 @@ Example:
type config struct {
Port int
Name string
PathMap string `mapstructure:"path_map"`
}
var C config