Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
encoding/json: wrong encoding for string field with integer option (struct tag) #41134
What version of Go are you using (
I thought that this means it supports the
My actual problem is, I need to use my
In that case, should I create a clone of that struct with the wrong field type fixed and use the cloned struct just for inserting to MongoDB?