Documentation
¶
Index ¶
- type ActiveContributor
- type ActiveContributorsResponse
- type AssetStats
- type Config
- type Contributor
- type DownloadStats
- type MultiRepoStarHistory
- type OrganizationStats
- type PageData
- type Release
- type ReleaseAsset
- type ReleaseDownloadStats
- type StarHistory
- type StarPoint
- type Stargazer
- type StargazerResponse
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveContributor ¶
type ActiveContributor struct {
Login string `json:"login"`
Contributions int `json:"contributions"`
LastActiveDate time.Time `json:"last_active_date"`
}
ActiveContributor represents a contributor's activity stats
type ActiveContributorsResponse ¶
type ActiveContributorsResponse struct {
RepoName string `json:"repo_name"`
TimeRange string `json:"time_range"`
ActiveContributors []ActiveContributor `json:"active_contributors"`
}
ActiveContributorsResponse represents the response for active contributors
type AssetStats ¶
AssetStats represents download statistics for a single asset
type Contributor ¶
type Contributor struct {
Login string `json:"login"`
}
type DownloadStats ¶
type DownloadStats struct {
RepoName string `json:"repo_name"`
TotalDownloads int `json:"total_downloads"`
Releases []ReleaseDownloadStats `json:"releases"`
}
DownloadStats represents download statistics for all releases
type MultiRepoStarHistory ¶
type MultiRepoStarHistory struct {
Repositories []StarHistory `json:"repositories"`
}
MultiRepoStarHistory represents star history for multiple repositories
type OrganizationStats ¶
type Release ¶
type Release struct {
ID int `json:"id"`
TagName string `json:"tag_name"`
CreatedAt time.Time `json:"created_at"`
Assets []ReleaseAsset `json:"assets"`
}
Release represents a GitHub release
type ReleaseAsset ¶
ReleaseAsset represents a single asset in a release
type ReleaseDownloadStats ¶
type ReleaseDownloadStats struct {
TagName string `json:"tag_name"`
CreatedAt time.Time `json:"created_at"`
TotalDownloads int `json:"total_downloads"`
Assets []AssetStats `json:"assets"`
}
ReleaseDownloadStats represents download statistics for a single release
type StarHistory ¶
type StargazerResponse ¶
Click to show internal directories.
Click to hide internal directories.