kanban

package
v0.0.0-...-c46b31f Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Board

type Board struct {
	Id    int64
	Pos   int
	Title string
	Cards dll.DLL
}

func (*Board) AddCard

func (b *Board) AddCard(id int64, title string, desc string)

func (*Board) GetCardById

func (b *Board) GetCardById(id int64) *Card

func (*Board) RemoveCard

func (b *Board) RemoveCard(card *Card) error

func (*Board) RenameBoard

func (b *Board) RenameBoard(title string)

Board

type Card

type Card struct {
	Id          int64
	Title       string
	Description string
	CheckList   dll.DLL
	CardLabels  dll.DLL
}

func (*Card) AddCheckItem

func (c *Card) AddCheckItem(id int64, title string, done bool)

func (*Card) AddDescription

func (c *Card) AddDescription(description string)

func (*Card) AddLabel

func (c *Card) AddLabel(label *Label)

func (*Card) GetCheckItemById

func (c *Card) GetCheckItemById(id int64) *CheckItem

func (*Card) RemoveCheckItem

func (c *Card) RemoveCheckItem(checkItem *CheckItem) error

func (*Card) RemoveLabel

func (c *Card) RemoveLabel(label *Label) error

func (*Card) RenameCard

func (c *Card) RenameCard(title string)

Card

type CheckItem

type CheckItem struct {
	Id    int64
	Title string
	Check bool
}

func (*CheckItem) CheckCheckItem

func (c *CheckItem) CheckCheckItem()

func (*CheckItem) RenameCheckItem

func (c *CheckItem) RenameCheckItem(title string)

CheckItem

type Label

type Label struct {
	Id    int64
	Title string
	Color string
}

func (*Label) ChangeColor

func (l *Label) ChangeColor(color string)

func (*Label) RenameLabel

func (l *Label) RenameLabel(title string)

Label

type Menu struct {
	Projects dll.DLL
}

func StartMenu

func StartMenu() *Menu

Menu

func (m *Menu) AddProject(id int64, title string)
func (m *Menu) Export()
func (m *Menu) GetProjectById(id int64) *Project
func (m *Menu) Import()
func (m *Menu) RemoveProject(project *Project) error

type Project

type Project struct {
	Id     int64
	Title  string
	Boards dll.DLL
	Labels dll.DLL
}

func (*Project) AddBoard

func (p *Project) AddBoard(id int64, title string)

func (*Project) AddLabel

func (p *Project) AddLabel(id int64, title string, color string)

func (*Project) GetBoardById

func (p *Project) GetBoardById(id int64) *Board

func (*Project) GetLabelById

func (p *Project) GetLabelById(id int64) *Label

func (*Project) RemoveBoard

func (p *Project) RemoveBoard(board *Board) error

func (*Project) RemoveLabel

func (p *Project) RemoveLabel(label *Label) error

func (*Project) RenameProject

func (p *Project) RenameProject(title string)

Project

Jump to

Keyboard shortcuts

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