Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRateLimits ¶
func GetRateLimits() (*github.RateLimits, error)
GetRateLimits calls the GET /rate_limit endpoint, which does not count against the rate limit
func Init ¶
func Init(token string)
Init constructs a github API client for this package taking in a token
func ListRepositoriesByOrg ¶
func ListRepositoriesByOrg(org string) ([]*github.Repository, error)
ListRepositoriesByOrg gets all repositories in a GitHub organization
func ListRepositoriesByUser ¶
func ListRepositoriesByUser(user string) ([]*github.Repository, error)
ListRepositoriesByUser gets all repositories for a GitHub user
Types ¶
This section is empty.