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