Documentation ¶
Index ¶
- func RunAll(c *fetch.Context, sg []*fetch.Stargazer, rs map[string]*fetch.Repo) error
- func RunAttributesByTime(c *fetch.Context, sg []*fetch.Stargazer, rs map[string]*fetch.Repo) error
- func RunCommitters(c *fetch.Context, sg []*fetch.Stargazer, rs map[string]*fetch.Repo) error
- func RunCorrelatedRepos(c *fetch.Context, listType string, sg []*fetch.Stargazer, ...) error
- func RunCumulativeStars(c *fetch.Context, sg []*fetch.Stargazer) error
- func RunFollowers(c *fetch.Context, sg []*fetch.Stargazer) error
- func RunStargazers(c *fetch.Context, sg []*fetch.Stargazer) error
- type Contributors
- type RepoCount
- type RepoCounts
- type Stargazers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunAttributesByTime ¶
RunCumulativeStars creates a table of date and cumulative star count for the provided stargazers.
func RunCommitters ¶
RunCommitters lists stargazers by commits to subscribed repos, from most prolific committer to least.
func RunCorrelatedRepos ¶
func RunCorrelatedRepos(c *fetch.Context, listType string, sg []*fetch.Stargazer, rs map[string]*fetch.Repo) error
RunCorrelatedRepos creates a map from repo name to count of repos for repo lists of each stargazer.
func RunCumulativeStars ¶
RunCumulativeStars creates a table of date and cumulative star count for the provided stargazers.
func RunFollowers ¶
RunFollowers computes the size of follower networks, as well as the count of shared followers.
Types ¶
type Contributors ¶
func (Contributors) Len ¶
func (slice Contributors) Len() int
func (Contributors) Less ¶
func (slice Contributors) Less(i, j int) bool
func (Contributors) Swap ¶
func (slice Contributors) Swap(i, j int)
type RepoCounts ¶
type RepoCounts []*RepoCount
func (RepoCounts) Len ¶
func (slice RepoCounts) Len() int
func (RepoCounts) Less ¶
func (slice RepoCounts) Less(i, j int) bool
func (RepoCounts) Swap ¶
func (slice RepoCounts) Swap(i, j int)
type Stargazers ¶
func (Stargazers) Len ¶
func (slice Stargazers) Len() int
func (Stargazers) Less ¶
func (slice Stargazers) Less(i, j int) bool
func (Stargazers) Swap ¶
func (slice Stargazers) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.