// Code generated by goctl. DO NOT EDIT! // Source: codeService.proto package server import ( "context" "bp.jydev.jianyu360.cn/BaseService/jyCodeService/rpc/codeservice/codeservice" "bp.jydev.jianyu360.cn/BaseService/jyCodeService/rpc/codeservice/internal/logic" "bp.jydev.jianyu360.cn/BaseService/jyCodeService/rpc/codeservice/internal/svc" ) type CodeServiceServer struct { svcCtx *svc.ServiceContext codeservice.UnimplementedCodeServiceServer } func NewCodeServiceServer(svcCtx *svc.ServiceContext) *CodeServiceServer { return &CodeServiceServer{ svcCtx: svcCtx, } } func (s *CodeServiceServer) CodeTransformation(ctx context.Context, in *codeservice.Request) (*codeservice.Response, error) { l := logic.NewCodeTransformationLogic(ctx, s.svcCtx) return l.CodeTransformation(in) }