gitlab

package
v0.0.0-...-44953d5 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2016 License: GPL-3.0 Imports: 9 Imported by: 0

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

type GitlabUser struct {
	Username string
	Name     string
	Email    string
}

Jump to

Keyboard shortcuts

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