add positions
This commit is contained in:
@@ -17,8 +17,6 @@ type Breadcrumb struct {
|
||||
}
|
||||
|
||||
type IStorage interface {
|
||||
GetAllProducts(ctx context.Context) ([]Product, error)
|
||||
GetProductByID(ctx context.Context, id int) (Product, error)
|
||||
GetBreadcrumbs(ctx context.Context, id int) ([]Breadcrumb, error)
|
||||
GetCatalog(ctx context.Context) ([]*crm.CatalogRsp_Category, error)
|
||||
GetCatalog(ctx context.Context) ([]*crm.Category, error)
|
||||
GetPositions(ctx context.Context, id int64) ([]*crm.Product, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user