package logic import ( "context" "godemo/gateway/internal/svc" "godemo/gateway/internal/types" "github.com/zeromicro/go-zero/core/logx" ) type DeleteCategoryLogic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } func NewDeleteCategoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteCategoryLogic { return &DeleteCategoryLogic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *DeleteCategoryLogic) DeleteCategory(req *types.DeleteCategoryReq) (resp *types.BaseResp, err error) { // todo: add your logic here and delete this line return }