Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddItem ¶
type AddItem struct {
Title string
}
AddItem is an action which adds a single item with the specified title.
type ClearCompleted ¶
type ClearCompleted struct{}
ClearCompleted is an action which clears the completed items.
type DestroyItem ¶
type DestroyItem struct {
Index int
}
DestroyItem is an action which destroys the item specified by the index.
type ReplaceItems ¶
ReplaceItems is an action that replaces all items with the specified ones.
type SetAllCompleted ¶
type SetAllCompleted struct {
Completed bool
}
SetAllCompleted is an action which marks all existing items as being completed or not.
type SetCompleted ¶
SetCompleted is an action which specifies the completed state of an existing item.
type SetFilter ¶
type SetFilter struct {
Filter model.FilterState
}
SetFilter is an action which sets the filter for the viewed items.
Click to show internal directories.
Click to hide internal directories.