storage

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONStore

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

func NewJSONStore

func NewJSONStore(path string) *JSONStore

func (*JSONStore) LoadItems

func (s *JSONStore) LoadItems() ([]model.Item, bool, error)

func (*JSONStore) Path

func (s *JSONStore) Path() string

func (*JSONStore) SaveItems

func (s *JSONStore) SaveItems(items []model.Item) error

Jump to

Keyboard shortcuts

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