actualize items list in db

This commit is contained in:
Aleksandr Trushkin
2024-02-04 13:14:56 +03:00
parent 6042ca6822
commit 08be7de118
4 changed files with 138 additions and 43 deletions

View File

@ -9,6 +9,7 @@ type GoodsItemRepository interface {
GetByCart(context.Context, int64) (GoodsItem, error)
UpsertMany(context.Context, ...GoodsItem) ([]GoodsItem, error)
Delete(context.Context, string) (GoodsItem, error)
}
type CategoryRepository interface {