Skip to content
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

Merged
merged 4 commits into from
Mar 1, 2024
Merged

Fix documentation #58

merged 4 commits into from
Mar 1, 2024

Conversation

kasugamirai
Copy link
Contributor

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.

…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.
Copy link

google-cla bot commented Feb 29, 2024

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.

Copy link
Collaborator

@jba jba left a 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.

genai/client_test.go Outdated Show resolved Hide resolved
genai/client_test.go Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
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.
go.mod Outdated Show resolved Hide resolved
@kasugamirai kasugamirai changed the title Update package dependencies, improve error handling, and fix documentation fix documentation Mar 1, 2024
@kasugamirai kasugamirai changed the title fix documentation Fix documentation Mar 1, 2024
@kasugamirai
Copy link
Contributor Author

Thanks for your suggestion

Copy link
Collaborator

@jba jba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jba jba merged commit 90f89ab into google:main Mar 1, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants