github

package
v0.0.0-...-6a5ced3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRepository

func GetRepository(owner string, repo string) (*github.Repository, int, error)

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

func ListRepositoryCommits

func ListRepositoryCommits(owner string, repo string, start time.Time, end time.Time) ([]*github.RepositoryCommit, int, error)

ListRepositoryCommits gets all commits for a repository for a specified duration

Types

This section is empty.

Jump to

Keyboard shortcuts

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