I'm trying to get data from a MongoDB (previously saved using JS) and I unfortunately get empty _id
and wrong format of the dates (saved as epoch).
Here's the data in MongoDB:
Here is the model I'm using in my Go code
and here is what I get as result
I've tried uuid.UUID
in the ID type but I get a struct full of zeros, and when I change their types to string or byte, I get empty values.
How to get exactly the data as it's saved on the DB?