package logic import ( "context" "sundynix-micro-go/app/plant/rpc/internal/svc" "sundynix-micro-go/app/plant/rpc/plant" "github.com/zeromicro/go-zero/core/logx" ) type DeleteTopicLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewDeleteTopicLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteTopicLogic { return &DeleteTopicLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } func (l *DeleteTopicLogic) DeleteTopic(in *plant.DeleteTopicReq) (*plant.DeleteTopicResp, error) { // todo: add your logic here and delete this line return &plant.DeleteTopicResp{}, nil }