pointerstructure
pointerstructure copied to clipboard
Feature request: set struct fields
Thanks for your hard work on this great library! I'm wondering if there are plans to support setting a struct field via pointer? e.g.
type Config struct{
Email string
}
var c Config
_, err := pointerstructure.Set(&c, "/Email", "[email protected]")
// Returns error "set /Email: invalid value kind: struct"