Documentation
¶
Index ¶
- type Client
- func (c *Client) Branches(owner string, name string) ([]vcs.Branch, error)
- func (c *Client) GetUsername() (string, error)
- func (c *Client) History(repo vcs.Repo, max int, since time.Time) ([]vcs.Commit, error)
- func (c *Client) IssueURL(owner string, name string, number int) string
- func (c *Client) Issues(owner string, name string) ([]vcs.Issue, error)
- func (c *Client) PullRequests(owner string, name string) ([]vcs.PullRequest, error)
- func (c *Client) Repositories(owner string) ([]vcs.Repo, error)
- func (c *Client) Repository(owner string, name string) (vcs.Repo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a GitHub client.
func (*Client) GetUsername ¶
GetUsername returns the username of the authenticated user.
func (*Client) PullRequests ¶
PullRequests returns a list of pull requests for the given repository.
func (*Client) Repositories ¶
Repositories returns a list of repositories for the given user.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.