issue

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportJson

func ExportJson(iss *[]Issue) error

func ExportXml

func ExportXml(iss *[]Issue) error

func ImportJson

func ImportJson(iss *[]Issue, j []byte) error

func ImportXml

func ImportXml(iss *[]Issue, x []byte) error

Types

type Assgin

type Assgin struct {
	Id    int64
	Login string
}

type Comment

type Comment struct {
	Id     int64
	Body   string
	Update time.Time
	User   User
}

type Issue

type Issue struct {
	Id        int64
	Num       int64
	Title     string
	Body      string
	Url       string
	State     State
	Labels    []Label
	Milestone Milestone
	Update    time.Time
	User      User
	Assginees []Assgin
	Comments  []Comment
}

func (*Issue) PrintHead

func (self *Issue) PrintHead() error

func (*Issue) PrintJson

func (self *Issue) PrintJson() error

func (*Issue) PrintMd

func (self *Issue) PrintMd() error

func (*Issue) PrintWiki

func (self *Issue) PrintWiki() error

func (*Issue) PrintXml

func (self *Issue) PrintXml() error

func (*Issue) SprintHead added in v0.3.0

func (self *Issue) SprintHead() (string, error)

func (*Issue) SprintMd added in v0.3.0

func (self *Issue) SprintMd() string

type Label

type Label struct {
	Id    int64
	Name  string
	Color string
}

func (*Label) GetLabelStr

func (self *Label) GetLabelStr() (string, error)

type Milestone

type Milestone struct {
	Id    int64
	Title string
}

type State

type State struct {
	Id   int64
	Name string
}

type User

type User struct {
	Id    int64
	Name  string
	Email string
}

Jump to

Keyboard shortcuts

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