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

Add golangci-lint and fix problems #25

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

lucacome
Copy link
Member

@lucacome lucacome commented Nov 7, 2024

This pull request includes various updates to the GitHub workflows, Go codebase, and documentation. The most important changes involve enhancing the CI and linting workflows, improving code quality, and updating the Go code to follow best practices.

Workflow Enhancements:

Code Quality Improvements:

  • client.go, server.go, shared.go, errors.go, options.go: Refactored error handling and improved code readability by using errors.Is and other best practices. [1] [2] [3] [4] [5] [6]
  • test/interceptor_test.go: Enhanced test reliability by adding parallel execution and handling potential server startup errors. [1] [2] [3]

Documentation Updates:

  • README.md: Specified the shell language for code blocks to improve syntax highlighting.

Linter Configuration:

  • .golangci.yml: Added detailed linter settings and enabled various linters to enforce code standards.

These changes collectively improve the maintainability, reliability, and quality of the codebase.

@lucacome lucacome closed this Nov 7, 2024
@lucacome lucacome reopened this Nov 7, 2024
@lucacome lucacome merged commit d814d2a into opentracing-contrib:master Nov 7, 2024
9 checks passed
@lucacome lucacome deleted the chore/golangci-lint branch November 7, 2024 17:08
@lucacome lucacome added the chore label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant