feat: github projects route

This commit is contained in:
trafficlunar 2025-05-03 16:09:46 +01:00
parent a1f22391e9
commit a3eb6c6e32
7 changed files with 115 additions and 0 deletions

16
internal/model/github.go Normal file
View file

@ -0,0 +1,16 @@
package model
type GitHubAPI struct {
Description string `json:"description"`
Stars uint32 `json:"stargazers_count"`
Language string `json:"language"`
Url string `json:"html_url"`
}
type GitHubData struct {
Name string `json:"name"`
Description string `json:"description"`
Stars string `json:"stars"`
Language string `json:"language"`
Url string `json:"url"`
}