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

Upgrade code to respect new conventions. #111

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

ccoVeille
Copy link
Contributor

go.mod refers to 1.17, so we can use os.ReadFile and os.WriteFile instead of ioutil.ReadFile and ioutil.WriteFile that are now deprecated.

We should use errors.As since go 1.13 otherwise any wrapped errors won't be caught.

go.mod refers to 1.17, so we can use os.ReadFile and os.WriteFile
instead of ioutil.ReadFile and ioutil.WriteFile that are now deprecated.

We should use errors.As since go 1.13 otherwise any wrapped errors won't
be caught.
@mfridman mfridman merged commit 79399b4 into mfridman:main Apr 16, 2024
3 checks passed
@ccoVeille ccoVeille deleted the code-review branch April 16, 2024 17:22
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