Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByCreationDate ¶
type ByCreationDate []GitlabComment
func (ByCreationDate) Len ¶
func (p ByCreationDate) Len() int
func (ByCreationDate) Less ¶
func (p ByCreationDate) Less(i, j int) bool
func (ByCreationDate) Swap ¶
func (p ByCreationDate) Swap(i, j int)
type GitlabComment ¶
type GitlabComment struct { Author GitlabUser Body string CreatedAt time.Time `json:"created_at"` }
type GitlabIssue ¶
type GitlabIssue struct { Id int Title string Description string Author GitlabUser Assignee GitlabUser Milestone GitlabMilestone CreatedAt time.Time `json:"created_at"` }
type GitlabIssueReader ¶
type GitlabIssueReader struct { IssueTemplate *template.Template // contains filtered or unexported fields }
func NewGitlabIssueReader ¶
func NewGitlabIssueReader(privateToken, gitlabHost, project string) (*GitlabIssueReader, error)
func (*GitlabIssueReader) Next ¶
func (r *GitlabIssueReader) Next() (*GitlabIssue, error)
type GitlabMilestone ¶
type GitlabMilestone struct {
DueDate string `json:"due_date"`
}
type GitlabUser ¶
Click to show internal directories.
Click to hide internal directories.