Documentation
¶
Overview ¶
Package ghapi provides a wrapper for easier access to specific parts the GitHub API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHub ¶
type GitHub struct {
// contains filtered or unexported fields
}
GitHub is an abstraction for the real GitHub API client
func (*GitHub) GetReleases ¶
func (githubClient *GitHub) GetReleases(owner string, repository string) ([]*github.RepositoryRelease, error)
GetReleases returns all release information for the supplied repository
func (*GitHub) RemoveRelease ¶
func (githubClient *GitHub) RemoveRelease(owner string, repo string, release *github.RepositoryRelease) error
RemoveRelease will attempt to delete a release from GitHub
Click to show internal directories.
Click to hide internal directories.