storage

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileTaskStore

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

func NewFileTaskStore

func NewFileTaskStore(path string) *FileTaskStore

func (*FileTaskStore) Load

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

func (*FileTaskStore) Save

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

type TaskStore

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

Jump to

Keyboard shortcuts

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