(ctx context.Context, id int)
| 11 | type MenuRepository interface { |
| 12 | CreateMenu(ctx context.Context, menu *domain.Menu) error |
| 13 | GetMenuById(ctx context.Context, id int) (*domain.Menu, error) |
| 14 | UpdateMenu(ctx context.Context, menu *domain.Menu) error |
| 15 | DeleteMenu(ctx context.Context, id int) error |
| 16 | ListMenus(ctx context.Context, page, pageSize int) ([]*domain.Menu, int, error) |