store

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultName = "File Store"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FileTaskStore

type FileTaskStore struct {
	// contains filtered or unexported fields
}

func (*FileTaskStore) Load

func (fts *FileTaskStore) Load() ([]task.Task, error)

func (*FileTaskStore) Name

func (fts *FileTaskStore) Name() string

func (*FileTaskStore) Save

func (fts *FileTaskStore) Save(tasks []task.Task) error

type TaskStore

type TaskStore interface {
	Load() ([]task.Task, error)
	Save([]task.Task) error
	Name() string
}

func NewFileTaskStore

func NewFileTaskStore(path string) TaskStore

Jump to

Keyboard shortcuts

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