[GODRIVER-436] Documentation does not indicate users should call client.Connect or use mongo.Connect Created: 29/May/18  Updated: 28/Oct/23  Resolved: 31/May/18

Status: Closed
Project: Go Driver
Component/s: Documentation
Affects Version/s: 0.0.5
Fix Version/s: 0.0.7

Type: Bug Priority: Major - P3
Reporter: Kristofer Brandow (Inactive) Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The GoDoc documentation currently does not tell the users to call client.Connect after creating a new mongo.Client which causes a topology closed error. Update the mongo/doc.go file to add a step of calling client.Connect.



 Comments   
Comment by Githook User [ 31/May/18 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com'}

Message: Add client.Connect to GoDoc

GODRIVER-436

Change-Id: I024c6b5c2787de7241006048f4ad528e87c4f6a4
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/10985213d767b5d11135e85b6a2923177b805ad2

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