You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i get a wrong id when Unmarshal json object to a struct with id of int64, in general this id is the true id in the db - 1 !!
for now i think the problem is with a conversion somewhere there, when the lib converts the string id from the json object to an int64 id !!! but i'm not sure.
is there any solution for this (any other solution without changing the type of the id into a string). ?
The text was updated successfully, but these errors were encountered:
i get a wrong id when Unmarshal json object to a struct with id of int64, in general this id is the true id in the db - 1 !!
for now i think the problem is with a conversion somewhere there, when the lib converts the string id from the json object to an int64 id !!! but i'm not sure.
is there any solution for this (any other solution without changing the type of the id into a string). ?
The text was updated successfully, but these errors were encountered: