[GODRIVER-781] Inconsistent use of time.Duration and int64 in options Created: 22/Jan/19 Updated: 28/Oct/23 Resolved: 30/Jan/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Options & Configuration |
| Affects Version/s: | None |
| Fix Version/s: | 0.3.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Divjot Arora (Inactive) | Assignee: | Divjot Arora (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
For MaxTime and MaxAwaitTime, AggregateOptions and ChangeStreamOptions use time.Duration while Count, Distinct, and EstimatedCount use int64. For consistency, everything should use time.Duration. |