model

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Item

type Item struct {
	Title           string    `json:"title"`
	Project         string    `json:"project"`
	Stage           Stage     `json:"stage"`
	Trashed         bool      `json:"trashed,omitempty"`
	Body            string    `json:"body"`
	CreatedAt       time.Time `json:"created_at"`
	UpdatedAt       time.Time `json:"updated_at"`
	RemoteUpdatedAt time.Time `json:"remote_updated_at,omitempty"`
	IssueNumber     int       `json:"issue_number"`
	Repo            string    `json:"repo"`
	State           string    `json:"state,omitempty"`
}

func (Item) IsDone

func (i Item) IsDone() bool

func (Item) IsTrashed

func (i Item) IsTrashed() bool

func (Item) Labels

func (i Item) Labels() []string

func (Item) Matches

func (i Item) Matches(query string) bool

type Stage

type Stage string
const (
	StageIdea    Stage = "idea"
	StagePlanned Stage = "planned"
	StageActive  Stage = "active"
	StageBlocked Stage = "blocked"
	StageDone    Stage = "done"
)

Jump to

Keyboard shortcuts

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