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

welovemedia / ffmate / 18056227257

27 Sep 2025 06:24AM UTC coverage: 57.122% (+0.1%) from 56.978%
18056227257

push

github

YoSev
feat: add additional tests

1981 of 3468 relevant lines covered (57.12%)

11.97 hits per line

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

17.65
/internal/database/model/webhookExecution.go
1
package model
2

3
import (
4
        "time"
5

6
        "github.com/welovemedia/ffmate/v2/internal/dto"
7
        "gorm.io/gorm"
8
)
9

10
type WebhookExecution struct {
11
        CreatedAt time.Time
12
        UpdatedAt time.Time
13
        Request   *dto.WebhookRequest  `gorm:"json"`
14
        Response  *dto.WebhookResponse `gorm:"json"`
15
        DeletedAt gorm.DeletedAt       `gorm:"index"`
16
        UUID      string
17
        Event     dto.WebhookEvent
18
        URL       string
19
        ID        uint `gorm:"primarykey"`
20
}
21

22
func (m *WebhookExecution) ToDTO() *dto.WebhookExecution {
×
23
        return &dto.WebhookExecution{
×
24
                UUID: m.UUID,
×
25

×
26
                Event: m.Event,
×
27
                URL:   m.URL,
×
28

×
29
                Request:  m.Request,
×
30
                Response: m.Response,
×
31

×
32
                CreatedAt: m.CreatedAt,
×
33
                UpdatedAt: m.UpdatedAt,
×
34
        }
×
35
}
×
36

37
func (WebhookExecution) TableName() string {
36✔
38
        return "webhookExecution"
36✔
39
}
36✔
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