rest

package
v0.0.0-...-5f547a6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllRepos

func AllRepos(ctx context.Context, client *github.Client, account string) (allRepos []*github.Repository, err error)

func AuthREST

func AuthREST(token string) (context.Context, *github.Client)

func ForksPerLanguage

func ForksPerLanguage(client *github.Client, allRepos []*github.Repository) (languages []string, forksNum []float64)

func LanguagesByRepo

func LanguagesByRepo(client *github.Client, allRepos []*github.Repository) (languages []string, occurrences []float64)

func MostForkedRepos

func MostForkedRepos(client *github.Client, allRepos []*github.Repository) (repoNames []string, repoForks []float64)

func MostStarredRepos

func MostStarredRepos(client *github.Client, allRepos []*github.Repository) (repoNames []string, repoStars []float64)

func MostUsedLicenses

func MostUsedLicenses(client *github.Client, allRepos []*github.Repository) (licenses []string, occurrences []float64)

func StarsPerLanguage

func StarsPerLanguage(client *github.Client, allRepos []*github.Repository) (languages []string, starsNum []float64)

func TotalForks

func TotalForks(client *github.Client, allRepos []*github.Repository) (forksNum int)

func TotalStars

func TotalStars(client *github.Client, allRepos []*github.Repository) (starsNum int)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL