• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

raeperd / realworld.go / 18625628804

19 Oct 2025 04:52AM UTC coverage: 64.815%. First build
18625628804

Pull #15

github

raeperd
refactor: use JSON error responses in authenticate middleware

Replace http.Error calls with encodeErrorResponse to return proper JSON
error responses following RealWorld API specification format.

Error responses now return:
{"errors": {"body": ["error message"]}}

instead of plain text responses.
Pull Request #15: feat: implement GET /api/user endpoint with JWT authentication

38 of 75 new or added lines in 3 files covered. (50.67%)

350 of 540 relevant lines covered (64.81%)

4.75 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

73.46
/main.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc