github

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Issue2iIssue

func Issue2iIssue(is issue.Issue) iIssue

func IssueAssignees2iIAssignees

func IssueAssignees2iIAssignees(ass []issue.Assgin) []iIAssgin

func IssueComment2iIComment

func IssueComment2iIComment(com issue.Comment) iIComment

func IssueLabel2iILabel

func IssueLabel2iILabel(label issue.Label) iILabel

func IssueMilestone2iIMilestone

func IssueMilestone2iIMilestone(mi issue.Milestone) iIMilestone

func IssueUser2iIUser

func IssueUser2iIUser(user issue.User) iIUser

Types

type Github

type Github struct {
	// contains filtered or unexported fields
}

func (*Github) AddIssueComment

func (self *Github) AddIssueComment(inum string, comment string) error

func (*Github) AddLabel

func (self *Github) AddLabel(inum string, lb string) error

func (*Github) CreateIssue

func (self *Github) CreateIssue(is issue.Issue) error

func (*Github) DelLabel

func (self *Github) DelLabel(inum string, lb string) error

func (*Github) DeleteMilestone

func (self *Github) DeleteMilestone(inum string) error

func (*Github) DoCloseIssue

func (self *Github) DoCloseIssue(inum string) error

func (*Github) DoOpenIssue

func (self *Github) DoOpenIssue(inum string) error

func (*Github) GetIssue

func (self *Github) GetIssue(num string) (issue.Issue, error)

func (*Github) GetIssues

func (self *Github) GetIssues(com bool, withclose bool) ([]issue.Issue, error)

func (*Github) GetLabels

func (self *Github) GetLabels() ([]issue.Label, error)

func (*Github) GetMilestones

func (self *Github) GetMilestones() ([]issue.Milestone, error)

func (*Github) GetRepositoryName

func (self *Github) GetRepositoryName() string

func (*Github) GetToken

func (self *Github) GetToken() string

func (*Github) GetUrl

func (self *Github) GetUrl() string

func (*Github) GetUsername

func (self *Github) GetUsername() string

func (*Github) IsLogined

func (self *Github) IsLogined() bool

func (*Github) ModifyIssue

func (self *Github) ModifyIssue(is issue.Issue) error

func (*Github) SetRepositoryName

func (self *Github) SetRepositoryName(repo string)

func (*Github) SetToken

func (self *Github) SetToken(token string)

func (*Github) SetUrl

func (self *Github) SetUrl(url string)

func (*Github) SetUsername

func (self *Github) SetUsername(user string)

func (*Github) UpdateMilestone

func (self *Github) UpdateMilestone(inum string, mlname string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL