Documentation ¶
Index ¶
- func GetRepository(owner string, repo string) (*github.Repository, int, error)
- func Init(token string)
- func ListRepositoriesByOrg(org string, visibility string) ([]*github.Repository, error)
- func ListRepositoryCommits(owner string, repo string, start time.Time, end time.Time) ([]*github.RepositoryCommit, int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRepository ¶
GetRepository gets a repository by owner and repo name
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, visibility string) ([]*github.Repository, error)
ListRepositoriesByOrg gets all repositories in a GitHub organization with a visibility filter setting
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.