store

package
v0.0.0-...-3654578 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2020 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Items represents all of the TODO items in the store.
	Items []*model.Item

	// Filter represents the active viewing filter for items.
	Filter = model.All

	// Listeners is the listeners that will be invoked when the store changes.
	Listeners = storeutil.NewListenerRegistry()
)

Functions

func ActiveItemCount

func ActiveItemCount() int

ActiveItemCount returns the current number of items that are not completed.

func CompletedItemCount

func CompletedItemCount() int

CompletedItemCount returns the current number of items that are completed.

Types

This section is empty.

Directories

Path Synopsis
Package storeutil contains a ListenerRegistry type.
Package storeutil contains a ListenerRegistry type.

Jump to

Keyboard shortcuts

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