Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
StargazersCount *int `json:"stargazers_count,omitempty"`
}
Repository represents a single repository from github. This struct is a stripped down version of github.Repository. We only return the values we need here.
func GetRepositoryDetails ¶
func GetRepositoryDetails(owner, repo string) (*Repository, error)
GetRepositoryDetails will retrieve details about the repository owner/repo from github.
Click to show internal directories.
Click to hide internal directories.