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

platforma-dev / platforma / 22608788201

03 Mar 2026 04:48AM UTC coverage: 31.589% (+0.4%) from 31.163%
22608788201

push

github

web-flow
Fix #67: Add WriteJSON helper to httpserver package (#68)

* Fix #67: Add WriteJSON helper to httpserver package

* refactor: use WriteJSON helper in auth and healthcheck handlers

Replace manual JSON encoding with httpserver.WriteJSON() helper:

- application/healthcheck.go: simplify health response

- auth/handler_delete.go: fix error log message (was "decode")

- auth/handler_get.go: remove redundant Content-Type header

Reduces code duplication and ensures consistent response handling.

9 of 15 new or added lines in 4 files covered. (60.0%)

3 existing lines in 3 files now uncovered.

519 of 1643 relevant lines covered (31.59%)

3.05 hits per line

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

91.3
/auth/handler_delete.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

© 2026 Coveralls, Inc