simpleitem

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoStatus = "NO STATUS"
	DONE     = "DONE"
	BLOCKED  = "BLOCKED"
	TBD      = "TBD"
	WIP      = "WIP"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleCell

type SimpleCell struct {
	Title     string
	ChangedAt *time.Time
	Value     string
}

func ColumnValueToSimple

func ColumnValueToSimple(colvals []monday.ColumnValue) []SimpleCell

type SimpleItem

type SimpleItem struct {
	Name                  string
	Status                string
	Date                  *time.Time
	LastChangedStatusDate *time.Time
	FieldsSimple          []SimpleCell
}

func ItemToSimple

func ItemToSimple(item monday.Item) SimpleItem

func (*SimpleItem) String added in v0.3.0

func (si *SimpleItem) String() string

func (*SimpleItem) TrimSpace added in v0.3.0

func (si *SimpleItem) TrimSpace()

type SimpleItems added in v0.3.0

type SimpleItems []SimpleItem

func BoardSimpleItems

func BoardSimpleItems(b monday.Board) (SimpleItems, error)

func (SimpleItems) ByStatus added in v0.3.0

func (s SimpleItems) ByStatus() map[string]SimpleItems

func (SimpleItems) Len added in v0.3.0

func (s SimpleItems) Len() int

func (SimpleItems) Less added in v0.3.0

func (s SimpleItems) Less(i, j int) bool

func (SimpleItems) Sort added in v0.3.0

func (s SimpleItems) Sort()

Sort is a convenience method.

func (SimpleItems) Statuses added in v0.3.0

func (s SimpleItems) Statuses(convert bool, skip []string) []string

func (SimpleItems) Strings added in v0.3.0

func (s SimpleItems) Strings(bulletType, delimit string) []string

func (SimpleItems) StringsByStatus added in v0.3.0

func (s SimpleItems) StringsByStatus(bulletType, delimit string) []string

func (SimpleItems) Swap added in v0.3.0

func (s SimpleItems) Swap(i, j int)

Jump to

Keyboard shortcuts

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