23 lines
720 B
Go
23 lines
720 B
Go
package main
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type Project struct {
|
|
Name string `json:"name"`
|
|
Url string `json:"url"`
|
|
Description string `json:"description"`
|
|
Topics []string `json:"topics"`
|
|
OpenIssues int `json:"open_issues"`
|
|
ClosedIssues int `json:"closed_issues"`
|
|
OpenPRs int `json:"open_prs"`
|
|
ClosedPRs int `json:"closed_prs"`
|
|
LatestCommit time.Time `json:"latest_commit"`
|
|
LatestTag time.Time `json:"latest_tag"`
|
|
LatestRelease time.Time `json:"latest_release"`
|
|
Contributors int `json:"contributors"`
|
|
Languages []string `json:"languages"`
|
|
Readme string `json:"readme"`
|
|
Licence string `json:"licence"`
|
|
}
|