Documentation
¶
Index ¶
- func CompleteIssueFromTodo(todoDir string, todoItem *todo.Todo) error
- func SyncAllGitHubProjects(todoDir string) error
- func SyncCompletedTodos(todoDir string) error
- func SyncGitHubProject(todoDir string, projectName string) error
- func SyncIssues(todoDir string, organization string, projectNumber int, statusFilters []string) error
- type Client
- func (c *Client) CloseIssue(repoName string, issueNumber int) error
- func (c *Client) GetProjectIssues(projectNumber int, status string) ([]ProjectIssue, error)
- func (c *Client) GetProjectV2Issues(projectNumber int, statusFilters []string) ([]IssueWithStatus, error)
- func (c *Client) GetReviewRequests() ([]PullRequestInfo, error)
- func (c *Client) GetUserPullRequests() ([]PullRequestInfo, error)
- func (c *Client) UpdateIssueFromURL(issueURL string) error
- func (c *Client) UpdateProjectItemStatus(projectNumber int, projectItemID string, newStatus string) error
- type IssueWithStatus
- type ProjectIssue
- type ProjectMetadata
- type PullRequestInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SyncAllGitHubProjects ¶
func SyncCompletedTodos ¶
func SyncGitHubProject ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetProjectIssues ¶
func (c *Client) GetProjectIssues(projectNumber int, status string) ([]ProjectIssue, error)
func (*Client) GetProjectV2Issues ¶
func (c *Client) GetProjectV2Issues(projectNumber int, statusFilters []string) ([]IssueWithStatus, error)
func (*Client) GetReviewRequests ¶
func (c *Client) GetReviewRequests() ([]PullRequestInfo, error)
GetReviewRequests fetches open pull requests where the current user is requested to review
func (*Client) GetUserPullRequests ¶
func (c *Client) GetUserPullRequests() ([]PullRequestInfo, error)
GetUserPullRequests fetches open pull requests created by or assigned to the current user
func (*Client) UpdateIssueFromURL ¶
type IssueWithStatus ¶
type IssueWithStatus struct {
ProjectIssue
GitHubStatus string
ProjectItemID string
UpdatedAt time.Time
}
type ProjectIssue ¶
type ProjectMetadata ¶
Click to show internal directories.
Click to hide internal directories.