[GODRIVER-229] Add namespace type for options in mongo package. Created: 12/Feb/18  Updated: 28/Oct/23  Resolved: 20/Feb/18

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

Type: Task Priority: Major - P3
Reporter: Kristofer Brandow (Inactive) 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 2 UX

 Description   

Currently the documentation for the options is the first thing in godoc and there isn't an explanation of what they are. Add a type (potentially Options) to namespace the options together. Then add a global variable (mongo.O or mongo.Opt) so that users can access them. This will change things from mongo.AllowDiskUse(true) to mongo.Opt.AllowDiskUse(true).



 Comments   
Comment by Githook User [ 20/Feb/18 ]

Author:

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

Message: GODRIVER-229 Add namespace type for options in mongo package

Change-Id: I93bab212bf36be097f852148d4ab121fd8acffc9
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/c0d49e37272a4a5a31ac5ce84e453d5c9a31415e

Comment by Samuel Rossi (Inactive) [ 16/Feb/18 ]

Code review url: https://review.gerrithub.io/c/400322/

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