Documentation ¶
Index ¶
- Constants
- type SimpleCell
- type SimpleItem
- type SimpleItems
- func (s SimpleItems) ByStatus() map[string]SimpleItems
- func (s SimpleItems) Len() int
- func (s SimpleItems) Less(i, j int) bool
- func (s SimpleItems) Sort(reverse bool)
- func (s SimpleItems) Statuses(convert bool, skip []string) []string
- func (s SimpleItems) Strings(bulletType, delimit, sortType string, linkify, inclStatus bool) []string
- func (s SimpleItems) StringsByStatus(bulletType, delimit, sortType string, linkify, inclStatus bool) []string
- func (s SimpleItems) Swap(i, j int)
Constants ¶
View Source
const ( NoStatus = "NO STATUS" DONE = "DONE" BLOCKED = "BLOCKED" TBD = "TBD" WIP = "WIP" BulletTypeNumeric = "numeric" )
View Source
const ( SortAsc = "asc" SortDec = "dec" SortDesc = "desc" SortDsc = "dsc" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleCell ¶
type SimpleCell struct { Title string ChangedAt *time.Time Value string LinkURL string LinkText 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) LinkURL ¶ added in v0.5.0
func (si *SimpleItem) LinkURL() string
func (*SimpleItem) String ¶ added in v0.3.0
func (si *SimpleItem) String(linkify, inclStatus bool) 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(reverse bool)
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, sortType string, linkify, inclStatus bool) []string
func (SimpleItems) StringsByStatus ¶ added in v0.3.0
func (s SimpleItems) StringsByStatus(bulletType, delimit, sortType string, linkify, inclStatus bool) []string
func (SimpleItems) Swap ¶ added in v0.3.0
func (s SimpleItems) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.