Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListRepository ¶
type ListRepository struct {
// contains filtered or unexported fields
}
ListRepository stores ReadingLists in memory
func (*ListRepository) Load ¶
func (l *ListRepository) Load(ctx context.Context, id string) (*domain.ReadingList, error)
Load a list from the storage
func (*ListRepository) Save ¶
func (l *ListRepository) Save(ctx context.Context, list *domain.ReadingList) error
Save a list to the storage, existing lists with the same ID will be overwritten
Click to show internal directories.
Click to hide internal directories.