summaryrefslogtreecommitdiffstats
path: root/internal/models/github.go
diff options
context:
space:
mode:
authors <[email protected]>2025-11-19 12:39:35 -0500
committers <[email protected]>2025-11-19 12:39:35 -0500
commit0c209ada2314cb5e4cf123477ee246b5afc70939 (patch)
treef649912fac342f3a8cded6fdfa26e2dc56ebcb06 /internal/models/github.go
parentd77b81ec36a6995af6a8039121d19802bab8352e (diff)
downloaddborg-0c209ada2314cb5e4cf123477ee246b5afc70939.tar.gz
dborg-0c209ada2314cb5e4cf123477ee246b5afc70939.zip
refactor: switch to authenticated client and update github lead model to use profile data instead of commit metadatav1.0.4v0.8.6
Diffstat (limited to 'internal/models/github.go')
-rw-r--r--internal/models/github.go14
1 files changed, 8 insertions, 6 deletions
diff --git a/internal/models/github.go b/internal/models/github.go
index 1c9657c..fc1c9c3 100644
--- a/internal/models/github.go
+++ b/internal/models/github.go
@@ -1,10 +1,12 @@
package models
type GitHubLead 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"`
+ Name string `json:"name"`
+ Email string `json:"email"`
+ Username string `json:"username"`
+ Company string `json:"company,omitempty"`
+ Location string `json:"location,omitempty"`
+ Website string `json:"website,omitempty"`
+ Twitter string `json:"twitter,omitempty"`
+ PFP string `json:"pfp,omitempty"`
}