Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type User ¶
type User struct { Login string `json:"login"` CreatedAt string `json:"createdAt"` Contributions contributions `json:"contributionsCollection"` YearlyContributions map[int]int }
User represents a github user who starred a repository. It is public because this model is the output of the Fetch methods of this package.
func FetchContributions ¶
FetchContributions fetches the contribution data of a list of stargazers. ctx contains the scanned context of the astronomer command. untilYear is the year until which to scan for contribuitons.
Click to show internal directories.
Click to hide internal directories.