field name by struct tag
Closed this issue · 3 comments
vtolstov commented
What you think about adding ability to specify src name via struct tag?
For example i have dst like
struct Config {
Name string `sometag:"fio"`
}
and have src like
map[string]interface{}{"fio": "XX XX XX"}
xscode-auto-reply commented
Thanks for opening a new issue. The team has been notified and will review it as soon as possible.
For urgent issues and priority support, visit https://xscode.com/imdario/mergo
vtolstov commented
gentle ping..
As i saw the code changes are not big and can be enabled by option for example