[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: GODRIVER-1210 Add String for readpref.Mode and readpref.Readpref (#382)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/cd2cf485ee53d1ea5fc822ae2d5f56733e3b3f39

Comment by Divjot Arora (Inactive) [ 22/Apr/20 ]

PR: https://github.com/mongodb/mongo-go-driver/pull/382/files

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