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

yyle88 / restyoops / 20300831708

17 Dec 2025 11:10AM UTC coverage: 51.934%. First build
20300831708

push

github

yangyile1990
Add restyoops package with HTTP response fault classification

- Add Kind enum with KindSuccess, KindNetwork, KindHttp, KindParse, KindBlock, KindBusiness
- Add Oops struct with retryable semantics and wait time support
- Add Config struct with StatusOptions, KindOptions, ContentChecks
- Add Detect function with network, HTTP status, content check detection
- Add generic ErrorsAs function in internal/utils
- Update dependencies in go.mod/go.sum
- Add GitHub Actions workflow with lint, test, coverage, CodeQL
- Add Makefile with test coverage configuration
- Create English/Chinese documentation (README.md and README.zh.md)
- Add unit tests with mock responses and edge cases

94 of 181 new or added lines in 5 files covered. (51.93%)

94 of 181 relevant lines covered (51.93%)

5.12 hits per line

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

11.54
/oops.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