domain

package
v0.0.0-...-f560814 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCommentBodyIsEmpty = errors.New("comment body is empty")
	ErrNotFoundComment    = errors.New("not found comment")
	ErrNotFoundIssue      = errors.New("not found issue")
)

Functions

This section is empty.

Types

type AssignableUser

type AssignableUser struct {
	Login string
}

func (*AssignableUser) Fields

func (a *AssignableUser) Fields() []Field

func (*AssignableUser) Key

func (a *AssignableUser) Key() string

type Comment

type Comment struct {
	ID        string
	Author    string
	UpdatedAt string
	URL       string
	Body      string
}

func (*Comment) Fields

func (c *Comment) Fields() []Field

func (*Comment) Key

func (c *Comment) Key() string

type Field

type Field struct {
	Text  string
	Color tcell.Color
}

type Issue

type Issue struct {
	ID        string
	Repo      string
	RepoOwner string
	Number    string
	State     string
	Title     string
	Body      string
	Author    string
	URL       string
	Labels    []Item
	Assignees []Item
	Comments  []Item
	MileStone []Item
	Projects  []Item
}

func (*Issue) Fields

func (i *Issue) Fields() []Field

func (*Issue) Key

func (i *Issue) Key() string

type Item

type Item interface {
	Key() string
	Fields() []Field
}

type Label

type Label struct {
	Name        string
	Description string
}

func (*Label) Fields

func (l *Label) Fields() []Field

func (*Label) Key

func (l *Label) Key() string

type Milestone

type Milestone struct {
	ID          string
	Title       string
	State       string
	Description string
	URL         string
}

func (*Milestone) Fields

func (m *Milestone) Fields() []Field

func (*Milestone) Key

func (m *Milestone) Key() string

type Project

type Project struct {
	Name string
	URL  string
}

func (*Project) Fields

func (p *Project) Fields() []Field

func (*Project) Key

func (p *Project) Key() string

Jump to

Keyboard shortcuts

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