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

This commit is contained in:
Abhinandan 2015-12-03 21:44:42 +05:30 committed by Steve Francia
parent 87d443c19b
commit 823bc1371b

View file

@ -433,6 +433,7 @@ Example:
type config struct { type config struct {
Port int Port int
Name string Name string
PathMap string `mapstructure:"path_map"`
} }
var C config var C config