summaryrefslogtreecommitdiffstats
path: root/internal/models/github.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/models/github.go')
-rw-r--r--internal/models/github.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/internal/models/github.go b/internal/models/github.go
new file mode 100644
index 0000000..722cbb8
--- /dev/null
+++ b/internal/models/github.go
@@ -0,0 +1,14 @@
+package models
+
+type GitHubLeadResult struct {
+ Repository string `json:"repository"`
+ Author string `json:"author"`
+ Email string `json:"email"`
+ Commit string `json:"commit"`
+ Date string `json:"date"`
+ Message string `json:"message"`
+}
+
+type GitHubLeadsStreamResponse struct {
+ Lead GitHubLeadResult `json:"lead"`
+}