Documentation
¶
Overview ¶
Package storage
Copyright © 2026 mtnr_dev <timo@mtnr.cloud>
Package storage ¶
Copyright © 2026 mtnr_dev <timo@mtnr.cloud>
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
}
JSONStore implements Store using a JSON file
func NewJSONStore ¶
NewJSONStore creates a new JSON file store If no path is provided, uses ~/.todo-cli/todos.json
func (*JSONStore) GetFilePath ¶
GetFilePath returns the path where todos are stored
Click to show internal directories.
Click to hide internal directories.