add positions

This commit is contained in:
2024-05-18 12:36:31 +07:00
parent 0960f3e9dc
commit afd5536246
10 changed files with 1146 additions and 213 deletions
+2 -4
View File
@@ -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)
}