Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoryController ¶
type CategoryController struct {
UseCase categoryusecase.ICategoryUseCase
}
func New ¶
func New() *CategoryController
func (*CategoryController) Add ¶
func (c *CategoryController) Add(ctx context.Context, name string) ([]byte, *errors.CustomError)
func (*CategoryController) GetAll ¶
func (c *CategoryController) GetAll(ctx context.Context) ([]byte, *errors.CustomError)
type ICategoryController ¶
Click to show internal directories.
Click to hide internal directories.