-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Documentation
-
None
https://github.com/mongodb/mongo-go-driver/blob/master/mongo/doc.go#L38 uses the DeocdeBytes method, which was removed in the cursor redesign. Change this to use Decode instead.
- backported by
-
GODRIVER-959 Backport "GoDoc out of date for cursor example"
- Closed