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). ?
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). ?