Documentation ¶
Index ¶
- Variables
- type Book
- type Store
- func (s *Store) Add(ctx context.Context, toAdd ToAdd) (id uuid.UUID, err error)
- func (s *Store) AddMany(ctx context.Context, manyToAdd []ToAdd) (ids []uuid.UUID, err error)
- func (s *Store) All(ctx context.Context) (books []Book, err error)
- func (s *Store) ByID(ctx context.Context, id uuid.UUID) (book *Book, err error)
- type ToAdd
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = o11y.NewWarning("no update or results")
)
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.