Package Usage: go: github.com/sunfmin/reflectutils
reflectutils is for setting your struct value by using string name and path that follows reflectutils rules.
## The rules
- `.Name` to set a property by field name
- `.Person.Name` to set the name of the current property
- `.Person.Addresses[0].Phone` to set an element of an array property
- `.Person.Addresses[].Name` it will create a object of address and set it's property
- `.Person.MapData.Name` it can also set value to map
## How to install
7 versions
Latest release: about 1 year ago
11 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/sunfmin/reflectutils