Documentation ¶ Index ¶ type JSONStore func NewJSONStore(path string) *JSONStore func (s *JSONStore) LoadItems() ([]model.Item, bool, error) func (s *JSONStore) Path() string func (s *JSONStore) SaveItems(items []model.Item) error 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 Source Files ¶ View all Source files json_store.go Click to show internal directories. Click to hide internal directories.