title: Golang Mongodb insertOne returns empty ID ObjectID("000000000000000000000000")
body: <p>I am using Go with MongoDB and creating a New Record but when I convert the insertedID to string it returns ObjectID("000000000000000000000000").</p>
  
  <pre><code>client := connect()
  db := client.Database("godb")
  // fmt.Println(db)
  
  usersCollection := db.Collection("users")
  
  result, err := usersCollection.InsertOne(ctx, bson.D{
      {Key: "title", Value: "The Polyglot Developer Podcast"},
      {Key: "author", Value: "Nic Raboy"},
  })
  
  if err != nil {
      log.Fatal(err)
  }
  
  newID := result.InsertedID
  fmt.Println("InsertOne() newID:", newID)
  fmt.Println("InsertOne() newID type:", reflect.TypeOf(newID))
  
  oid, _ := newID.(primitive.ObjectID)
  fmt.Println(oid)
  </code></pre>
  
  <p>OUTPUT</p>
  
  <pre><code>InsertOne() newID: ObjectID("5e947e7036a5c1587fa4a06e")
  InsertOne() newID type: primitive.ObjectID
  ObjectID("000000000000000000000000")
  </code></pre>