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
validate diff:id tag for create map key (diff:id is mandatory)
diff:id
type FeedData struct { ID string `diff:"id"` Name string Score float32 }
The text was updated successfully, but these errors were encountered:
idea of this issue
fs := []FeedData{ {ID: "1", Name: "Bob", Score: 98.50}, {ID: "2", Name: "Joe", Score: 92.50}, } //return error after create new Diff d,err := diff.NewDiff[FeedData]()
if not found tag diff:id in struct then return error no tag
Sorry, something went wrong.
No branches or pull requests
validate
diff:id
tag for create map key (diff:id
is mandatory)The text was updated successfully, but these errors were encountered: