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
parent e37b56e207
commit e197beec2f
1 changed files with 1 additions and 0 deletions

View File

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