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

SAP-cloud-infrastructure / hermez / 16091286485

05 Jul 2025 07:17PM UTC coverage: 55.132% (+1.7%) from 53.461%
16091286485

Pull #317

github

notque
pkg/api: refctor to use httpapi composition pattern

- replace manual mux.Router with httpapi.Compose()
- add V1API, VersionAPI, Metrics Api with AddTo() methods
- Standardize as much as possible with go-bits respondwith patterns
- Rename ReturnJSON to ReturnESJSON to indicate it's specific ES requirements
- move utilities to fovused files (response.go, middleware.go)
Pull Request #317: pkg/api: refactor to use httpapi composition pattern

164 of 240 new or added lines in 6 files covered. (68.33%)

1 existing line in 1 file now uncovered.

564 of 1023 relevant lines covered (55.13%)

4.38 hits per line

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

82.54
/pkg/api/middleware.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