I have the following document on mongodb:
{
"random": {
"is_it_true": true
}
}
And i want to read it and map it on the following struct on Golang:
type StructGolang struct {
IsItTrue bool `bson:"random.is_it_true"`
}
But it isn't working. I'm getting an error when executing the Find command on the database.