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

small fixes on ioutil and error handling #45

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

peczenyj
Copy link
Contributor

Here I am

  • using io and os packages instead io/ioutil package - it is deprecated
  • using errors.New instead fmt.Errorf when there is no parameters to format
  • using %w instead %v when using fmt.Errort when wrapping an existing error
  • set unused errors in tests to _

enjoy

@quasilyte
Copy link
Owner

LGTM!

@quasilyte quasilyte merged commit b7ec239 into quasilyte:master Apr 18, 2024
1 check 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