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

bots-go-framework / bots-fw / 16259694296

14 Jul 2025 06:30AM UTC coverage: 3.415% (-3.9%) from 7.271%
16259694296

push

github

trakhimenok
feat(refactoring): restructuring packages and renaming types

25 of 301 new or added lines in 26 files covered. (8.31%)

152 existing lines in 7 files now uncovered.

133 of 3895 relevant lines covered (3.41%)

0.04 hits per line

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

0.0
/botsfw/webhook_handler_base.go
1
package botsfw
2

3
// WebhookHandlerBase provides base implementation for a bot handler
4
type WebhookHandlerBase struct {
5
        WebhookDriver
6
        BotHost
7
        BotPlatform
8
        //RecordsMaker        botsfwmodels.BotRecordsMaker
9
        RecordsFieldsSetter BotRecordsFieldsSetter
10
        TranslatorProvider  TranslatorProvider
11
        //DataAccess          botsfwdal.DataAccess
12
}
13

14
// Register driver
NEW
15
func (bh *WebhookHandlerBase) Register(d WebhookDriver, h BotHost) {
×
NEW
16
        if d == nil {
×
NEW
17
                panic("WebhookDriver == nil")
×
18
        }
NEW
19
        if h == nil {
×
NEW
20
                panic("BotHost == nil")
×
21
        }
NEW
22
        bh.WebhookDriver = d
×
NEW
23
        bh.BotHost = h
×
24
}
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