mirror of
https://github.com/trafficlunar/api.git
synced 2026-06-27 22:24:08 +00:00
feat: github projects route
This commit is contained in:
parent
a1f22391e9
commit
a3eb6c6e32
7 changed files with 115 additions and 0 deletions
16
internal/model/github.go
Normal file
16
internal/model/github.go
Normal 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"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue