Documentation
¶
Index ¶
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 REST API client scoped to code-forge (pull request) operations. It is deliberately separate from the issue-tracker client so the forge and tracker capabilities can be wired and evolve independently, even though both talk to the same GitHub API.
func (*Client) CreatePullRequest ¶
func (c *Client) CreatePullRequest(ctx context.Context, pr *forge.PullRequest) (*forge.PullRequest, error)
CreatePullRequest implements forge.Creator via the GitHub pulls API.
func (*Client) SetHTTPDoer ¶
SetHTTPDoer replaces the HTTP client used for API requests.
Click to show internal directories.
Click to hide internal directories.