[GODRIVER-1210] Implement readpref.Mode.String() and readpref.ReadPref.String() Created: 01/Aug/19 Updated: 28/Oct/23 Resolved: 22/Apr/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | CRUD |
| Affects Version/s: | None |
| Fix Version/s: | 1.4.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | David Bartley | Assignee: | Go Community User |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Description |
|
For logging, it'd be convenient for readpref.Mode and readpref.ReadPref to have String() functions defined. |
| Comments |
| Comment by Githook User [ 22/Apr/20 ] |
|
Author: {'name': 'David Bartley', 'email': 'bartle@stripe.com', 'username': 'bartle-stripe'}Message: |
| Comment by Divjot Arora (Inactive) [ 22/Apr/20 ] |
|
PR: https://github.com/mongodb/mongo-go-driver/pull/382/files |