Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoryRepository ¶
type CategoryRepository interface { GetCategory(ctx context.Context, req *api.GetCategoryRequest) (*api.GetCategoryResponse, error) ListCategories(ctx context.Context, req *api.ListCategoriesRequest) (*api.ListCategoriesResponse, error) CreateCategory(ctx context.Context, req *api.CreateCategoryRequest) (*api.CreateCategoryResponse, error) UpdateCategory(ctx context.Context, req *api.UpdateCategoryRequest) (*api.UpdateCategoryResponse, error) DeleteCategory(ctx context.Context, id *api.DeleteCategoryRequest) (*api.DeleteCategoryResponse, error) }
func NewCategoryRepository ¶
func NewCategoryRepository(db Store, categoryQuery query.CategoryQuery) CategoryRepository
Click to show internal directories.
Click to hide internal directories.