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 linter errors #283

Merged
merged 2 commits into from
Aug 16, 2024
Merged

Fix linter errors #283

merged 2 commits into from
Aug 16, 2024

Conversation

wneessen
Copy link
Owner

Closes #279

Replace fmt.Errorf with errors.New for consistency in error handling. This change ensures a more streamlined and uniform error reporting approach across the codebase. Also updated a test case from t.Errorf to t.Error for better readability.
Upgraded the Go version in GolangCI configuration from 1.22 to 1.23. Added the "examples" directory to the exclusion list for linting.
@wneessen wneessen linked an issue Aug 16, 2024 that may be closed by this pull request
@wneessen wneessen merged commit 8efdf49 into main Aug 16, 2024
24 of 27 checks passed
@wneessen wneessen deleted the bug/279_fix-linter-errors branch August 16, 2024 08:22
Copy link

codecov bot commented Aug 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.17%. Comparing base (84b5ebc) to head (e288bca).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #283      +/-   ##
==========================================
- Coverage   85.27%   85.17%   -0.10%     
==========================================
  Files          25       25              
  Lines        2078     2078              
==========================================
- Hits         1772     1770       -2     
- Misses        181      182       +1     
- Partials      125      126       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

Fix linter errors
1 participant