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 lint errors #7

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Fix lint errors #7

merged 1 commit into from
Jun 12, 2024

Conversation

tebuka
Copy link
Collaborator

@tebuka tebuka commented Jun 12, 2024

  • Set Go version to 1.21 in go.mod.
  • Add configuration and Makefile to run golangci-lint.
  • Fix reported errors reported by golangci-lint:
    • Update calls to deprecated functions with their replacements.
    • Ignore error return values when safe to do so or update code to return the error to the caller.
    • Set appropriate minimum TLS version when creating a tls.Config.

- Set Go version to 1.21 in go.mod.
- Add configuration and Makefile to run golangci-lint.
- Fix reported errors reported by golangci-lint:
  - Update calls to deprecated functions with their replacements.
  - Ignore error return values when safe to do so or update code to
    return the error to the caller.
  - Set appropriate minimum TLS version when creating a tls.Config.
@tebuka tebuka merged commit 414fb6e into main Jun 12, 2024
@tebuka tebuka deleted the pr7 branch June 12, 2024 19:35
@tebuka tebuka mentioned this pull request Jun 13, 2024
28 tasks
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.

None yet

1 participant