[GODRIVER-119] Rename yamgo and the Client type Created: 07/Nov/17  Updated: 28/Oct/23  Resolved: 10/Nov/17

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

Type: Task Priority: Major - P3
Reporter: David Golden Assignee: Samuel Rossi (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: GODRIVER Alpha UX

 Description   

After discussions with engineering and product management, we've agreed on the following changes:

  • The 'yamgo' package will be renamed to 'mongo' (as will the directory name containing the files of that package).
  • The 'yamgo.Client' type will be rename to 'mongo.MongoClient' for consistency with other drivers

I think the source file 'client.go' can keep its name and I think we can continue to use 'mongo.NewClient(uri)' as the constructor function for a MongoClient. (Or we can change it to mongo.NewMongoClient(uri)' if we feel that is more idiomatic.)



 Comments   
Comment by Githook User [ 27/Nov/17 ]

Author:

{'name': 'Saghm Rossi', 'username': 'saghm', 'email': 'saghmrossi@gmail.com'}

Message: GODRIVER-119 Rename yamgo and the Client type
Branch: GODRIVER-33
https://github.com/10gen/mongo-go-driver/commit/10e96d6da92e9544fa29f208960be81330d73ba9

Comment by Githook User [ 10/Nov/17 ]

Author:

{'name': 'Saghm Rossi', 'username': 'saghm', 'email': 'saghmrossi@gmail.com'}

Message: GODRIVER-119 Rename yamgo and the Client type
Branch: master
https://github.com/10gen/mongo-go-driver/commit/a26cfa4e37501ec910dc0957041c98dbc0b32c9c

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