[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: Change-Id: I93bab212bf36be097f852148d4ab121fd8acffc9 |
| Comment by Samuel Rossi (Inactive) [ 16/Feb/18 ] |
|
Code review url: https://review.gerrithub.io/c/400322/ |