I was creating unary tests when I got stuck on the following situation:
However, I can't find the way to set my bson.ObjectId
as nil
or zero.
Does anyone knows how to do or a work around?
Or you can use the primitive.NilObjectID
NilObjectID is the zero value for ObjectID.