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

docs: add requires go version in README.md #397

Merged
merged 1 commit into from
Jun 21, 2023

Conversation

vvatanabe
Copy link
Collaborator

I'd like go-openai to declare that 1.18 or greater is required because it uses generics internally.

@codecov
Copy link

codecov bot commented Jun 21, 2023

Codecov Report

Merging #397 (d791e85) into master (e948150) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #397   +/-   ##
=======================================
  Coverage   95.32%   95.32%           
=======================================
  Files          17       17           
  Lines         684      684           
=======================================
  Hits          652      652           
  Misses         22       22           
  Partials       10       10           

see 1 file with indirect coverage changes

@vvatanabe
Copy link
Collaborator Author

@sashabaranov Please check it.

On a separate note, it might be beneficial to create a CONTRIBUTING.md file, issue templates, and pull request templates. These could potentially reduce communication overhead.

README.md Outdated
@@ -10,6 +10,10 @@ This library provides unofficial Go clients for [OpenAI API](https://platform.op
* DALL·E 2
* Whisper

### Requires Go:

Currently, go-openai requires Go version 1.18 or greater.
Copy link
Owner

Choose a reason for hiding this comment

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

Great suggestion, thank you! Maybe let's move this line to the end of the Installation section? This would help avoid extra Requires Go header and keep README short

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@sashabaranov I updated README 👍

@sashabaranov sashabaranov merged commit e19b074 into sashabaranov:master Jun 21, 2023
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