[GODRIVER-647] bson.NewDocument should be removed from documentation Created: 21/Nov/18  Updated: 04/Dec/18  Resolved: 04/Dec/18

Status: Closed
Project: Go Driver
Component/s: BSON
Affects Version/s: None
Fix Version/s: 0.1.0

Type: Improvement Priority: Minor - P4
Reporter: Tim Fogarty Assignee: Tim Fogarty
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

It looks like `bson.NewDocument` has been deprecated but it is still used in examples in the documentation. PR Incoming.



 Comments   
Comment by Githook User [ 04/Dec/18 ]

Author:

{'name': 'Tim Fogarty', 'email': 'tim.fogarty@mongodb.com', 'username': 'tfogo'}

Message: GODRIVER-647 Remove bson.NewDocument from docs

Some examples in the documentation were out of date.

Change-Id: Idb2f5cdab205d2f8fcb8920ab75bbf6c679ede96
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/2bcd97a847884e8d7ecede81cf57bff44d6da7b8

Comment by Kristofer Brandow (Inactive) [ 26/Nov/18 ]

Code Review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/434296.

Generated at Thu Feb 08 08:34:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.