We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the field is an interface, can you cover this type of field for setting the value of the interface, for example:
type ( StructI struct { FieldI interface{} `json:"fieldI"` } StructZ struct { Field0 bool `json:"field0"` Field1 string `json:"field1"` } ) instance := &StructI{} instance.FieldI = new(StructZ) obj, _ := dot.New(instance) obj.Insert("FieldI.Field0", true)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When the field is an interface, can you cover this type of field for setting the value of the interface, for example:
The text was updated successfully, but these errors were encountered: