Skip to content

Fix documentation#58

Merged
jba merged 4 commits intogoogle:mainfrom
kasugamirai:fix-typo
Mar 1, 2024
Merged

Fix documentation#58
jba merged 4 commits intogoogle:mainfrom
kasugamirai:fix-typo

Conversation

@kasugamirai
Copy link
Copy Markdown
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.
@google-cla
Copy link
Copy Markdown

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
Copy Markdown
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.

Comment thread genai/client_test.go Outdated
Comment thread genai/client_test.go Outdated
Comment thread go.mod Outdated
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.
Comment thread go.mod
@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
Copy Markdown
Contributor Author

Thanks for your suggestion

Copy link
Copy Markdown
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
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