Documentation
¶
Index ¶
- func GetGithubToken() string
- func IsAlreadyExistError(err error) bool
- func ProjectCardOption(card *github.ProjectCard) (cardOpts github.ProjectCardOptions, err error)
- type GitHub
- func (gh *GitHub) CreateLabel(owner, repo, name, color, description string) (*github.Label, *github.Response, error)
- func (gh *GitHub) CreateMilestone(owner, repo, milestone string) (*github.Milestone, *github.Response, error)
- func (gh *GitHub) GetColumnCards(columnID int64) ([]*github.ProjectCard, *github.Response, error)
- func (gh *GitHub) GetIssue(owner, repo string, id int) (*github.Issue, *github.Response, error)
- func (gh *GitHub) GetMilestones(owner, repo string) ([]*github.Milestone, *github.Response, error)
- func (gh *GitHub) GetProjectColumn(projectID int64, columnName string) (int64, error)
- func (gh *GitHub) GetProjectColumns(projectID int64) ([]*github.ProjectColumn, *github.Response, error)
- func (gh *GitHub) GetProjectIDs(owner string, urls []string) (ids []int64, err error)
- func (gh *GitHub) GetProjects(owner string) ([]*github.Project, *github.Response, error)
- func (gh *GitHub) GetRepositories(owner string) ([]*github.Repository, error)
- func (gh *GitHub) MoveCardToAnotherProjectColumn(card *github.ProjectCard, columnID int64) (*github.ProjectCard, *github.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGithubToken ¶
func GetGithubToken() string
func IsAlreadyExistError ¶
func ProjectCardOption ¶
func ProjectCardOption(card *github.ProjectCard) (cardOpts github.ProjectCardOptions, err error)
Types ¶
type GitHub ¶
type GitHub struct {
// contains filtered or unexported fields
}
func (*GitHub) CreateLabel ¶
func (*GitHub) CreateMilestone ¶
func (*GitHub) GetColumnCards ¶
func (*GitHub) GetMilestones ¶
func (*GitHub) GetProjectColumn ¶
func (*GitHub) GetProjectColumns ¶
func (*GitHub) GetProjectIDs ¶
func (*GitHub) GetProjects ¶
func (*GitHub) GetRepositories ¶
func (gh *GitHub) GetRepositories(owner string) ([]*github.Repository, error)
func (*GitHub) MoveCardToAnotherProjectColumn ¶
func (gh *GitHub) MoveCardToAnotherProjectColumn(card *github.ProjectCard, columnID int64) (*github.ProjectCard, *github.Response, error)
Click to show internal directories.
Click to hide internal directories.