-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix documentation #58
Conversation
…ation Upgraded Go from version 1.21 to 1.22 and updated various indirect dependencies. Error handling in client_test.go has been enhanced by using the errors.Is function for comparison instead of direct equality check. Fixed minor typos and inconsistencies in the comments of client.go and embed.go.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!
We will accept the documentation fixes. I've commented on other aspects of this PR.
The 'defer' statement in client_test.go has been simplified and doesn't handle error on 'Close()' anymore. Used direct equality comparison instead of 'errors.Is' function for error handling, for checking 'iterator.Done'. Also, downgraded Go version from 1.22 to 1.21.
Thanks for your suggestion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Upgraded Go from version 1.21 to 1.22 and updated various indirect dependencies. Error handling in client_test.go has been enhanced by using the errors.Is function for comparison instead of direct equality check. Fixed minor typos and inconsistencies in the comments of client.go and embed.go.