79083447

Date: 2024-10-13 15:03:25
Score: 2
Natty:
Report link

The problem was on the "go.mongodb.org/mongo-driver/v2/mongo" package after i change to "go.mongodb.org/mongo-driver/mongo" package the decoding method worked just fine. So we have to use the mongoClient on the "go.mongodb.org/mongo-driver/mongo" package

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Berk_Wiro