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

refactor: normalize error handling #32

Merged
merged 2 commits into from
Oct 21, 2024
Merged

refactor: normalize error handling #32

merged 2 commits into from
Oct 21, 2024

Conversation

ryshoooo
Copy link
Owner

No description provided.

Copy link

Merging this branch will increase overall coverage

Impacted Packages Coverage Δ 🤖
github.com/ryshoooo/food-me/api 82.88% (ø)
github.com/ryshoooo/food-me/internal 55.81% (+0.05%) 👍

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/ryshoooo/food-me/api/routes.go 100.00% (ø) 92 92 0
github.com/ryshoooo/food-me/api/server.go 0.00% (ø) 19 0 19
github.com/ryshoooo/food-me/internal/handler.go 0.00% (ø) 13 (-1) 0 13 (-1)
github.com/ryshoooo/food-me/internal/permission_agent.go 100.00% (ø) 4 4 0
github.com/ryshoooo/food-me/internal/postgres_sql_handler.go 100.00% (ø) 89 89 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/ryshoooo/food-me/api/routes_test.go
  • github.com/ryshoooo/food-me/internal/permission_agent_test.go

@ryshoooo ryshoooo merged commit 381a6c4 into main Oct 21, 2024
4 checks passed
@ryshoooo ryshoooo deleted the refactor/errors branch October 21, 2024 07:19
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.

1 participant