Versions in this module Expand all Collapse all v0 v0.0.9 Oct 2, 2024 Changes in this version + type Client struct + func NewClient(token string) (*Client, error) + func (c *Client) AddIssueToProject(ctx context.Context, projectURL, issueURL string) error + func (c *Client) CloseIssue(ctx context.Context, repo string, issueNumber int) error + func (c *Client) CreateIssue(ctx context.Context, owner, repo string, issue models.Issue) (int, error) + func (c *Client) CreateMilestone(ctx context.Context, owner, repo string, milestone models.Milestone) (int, error) + func (c *Client) CreateProject(ctx context.Context, title string) (string, error) + func (c *Client) DeleteIssue(ctx context.Context, repo string, issueNumber int) error + func (c *Client) DeleteProject(ctx context.Context, projectNumber string) error + func (c *Client) Get(ctx context.Context, path string, response interface{}) error + func (c *Client) GetIssueByTitle(ctx context.Context, owner, repo, title string) (*models.Issue, error) + func (c *Client) GetIssueTitle(ctx context.Context, repo string, issueNumber int) (string, error) + func (c *Client) GetMilestoneByTitle(ctx context.Context, owner, repo, title string) (*models.Milestone, error) + func (c *Client) GetProjectOwner(ctx context.Context, projectNumber string) (string, error) + func (c *Client) GetUsername() (string, error) + func (c *Client) LinkProjectToRepo(ctx context.Context, projectNumber, repoFullName string) error + func (c *Client) ListProjectIssues(ctx context.Context, projectNumber string) ([]models.IssueItem, error) + func (c *Client) ListUserProjects(ctx context.Context) ([]models.Project, error) + func (c *Client) Patch(ctx context.Context, path string, body io.Reader, response interface{}) error + func (c *Client) Post(ctx context.Context, path string, body io.Reader, response interface{}) error + func (c *Client) UpdateIssueMilestone(ctx context.Context, owner, repo string, issueNumber, milestoneNumber int) error