Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) GetCurrentUser(ctx context.Context) (*ghapi.User, *ghapi.Response, error)
- func (c *Client) GetPRFeedBack(ctx context.Context, org string, repo string, prNum int) ([]messages.PRFeedback, error)
- func (c *Client) GetRepository(ctx context.Context, owner string, repo string) (*ghapi.Repository, *ghapi.Response, error)
- func (c *Client) GetThreadComments(ctx context.Context, threadID string) ([]messages.Comment, error)
- func (c *Client) ListBranches(ctx context.Context, owner string, repo string, opts *ghapi.BranchListOptions) ([]*ghapi.Branch, *ghapi.Response, error)
- func (c *Client) ListOrganizations(ctx context.Context, page int, perPage int) ([]*ghapi.Organization, *ghapi.Response, error)
- func (c *Client) SearchRepositories(ctx context.Context, query string, opts *ghapi.SearchOptions) (*ghapi.RepositoriesSearchResult, *ghapi.Response, error)
Constants ¶
View Source
const (
DefaultGithubURL = "https://github.com"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetCurrentUser ¶
func (*Client) GetPRFeedBack ¶
func (*Client) GetRepository ¶ added in v1.0.43
func (*Client) GetThreadComments ¶
func (*Client) ListBranches ¶
func (*Client) ListOrganizations ¶
func (*Client) SearchRepositories ¶
Click to show internal directories.
Click to hide internal directories.