Documentation ¶
Overview ¶
Package local provides in memory operations on GitHub issues.
Index ¶
- type Client
- func (c *Client) CloseIssue(issue *github.Issue) (*github.Issue, error)
- func (c *Client) CreateIssue(repo, title, body string, extra []string) (*github.Issue, error)
- func (c *Client) LabelIssue(issue *github.Issue, label string, add bool) error
- func (c *Client) ListOpenIssues() ([]*github.Issue, 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 manages operations on the in memory store.
func (*Client) CloseIssue ¶
CloseIssue removes the issue from the in memory store.
func (*Client) CreateIssue ¶
CreateIssue adds a new issue to the in memory store.
func (*Client) LabelIssue ¶
LabelIssue idempotently adds or removes a label in the in memory store.
Click to show internal directories.
Click to hide internal directories.