Documentation
¶
Index ¶
- type AlbumStore
- func (store *AlbumStore) Create(ctx context.Context, exe rdb.Executor, src model.AlbumSource) (*model.Album, error)
- func (store *AlbumStore) Delete(ctx context.Context, exe rdb.Executor, ean string) error
- func (store *AlbumStore) Get(ctx context.Context, exe rdb.Executor, ean string) (*model.Album, error)
- func (store *AlbumStore) GetForUpdate(ctx context.Context, exe rdb.Executor, ean string) (*model.Album, error)
- func (store *AlbumStore) ListAll(ctx context.Context, exe rdb.Executor) ([]*model.Album, error)
- func (store *AlbumStore) Update(ctx context.Context, exe rdb.Executor, ean string, params rdb.QueryParams) (*model.Album, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlbumStore ¶
type AlbumStore struct{}
func NewAlbumStore ¶
func NewAlbumStore() *AlbumStore
func (*AlbumStore) Create ¶
func (store *AlbumStore) Create(ctx context.Context, exe rdb.Executor, src model.AlbumSource) (*model.Album, error)
func (*AlbumStore) GetForUpdate ¶
Click to show internal directories.
Click to hide internal directories.