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

umputun / tg-spam / 12698818829

09 Jan 2025 09:30PM UTC coverage: 79.607% (+0.04%) from 79.567%
12698818829

push

github

umputun
Add check by user ID endpoint

This commit adds a new endpoint to check spam status by user ID. It includes:

- New FindByUserID method in DetectedSpam interface
- Implementation of FindByUserID in storage package
- New checkIdHandler for GET /check/{user_id} route
- Unit tests for new functionality
- Updated README with API documentation

50 of 60 new or added lines in 2 files covered. (83.33%)

3279 of 4119 relevant lines covered (79.61%)

83.24 hits per line

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

77.62
/app/webapi/webapi.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