// Code generated by goctl. DO NOT EDIT. // goctl 1.9.2 // Source: user.proto package server import ( "context" "juwan-backend/app/user/rpc/internal/logic" "juwan-backend/app/user/rpc/internal/svc" "juwan-backend/app/user/rpc/pb" ) type UsercenterServer struct { svcCtx *svc.ServiceContext pb.UnimplementedUsercenterServer } func NewUsercenterServer(svcCtx *svc.ServiceContext) *UsercenterServer { return &UsercenterServer{ svcCtx: svcCtx, } } func (s *UsercenterServer) GetUserInfo(ctx context.Context, in *pb.GetUserInfoReq) (*pb.GetUserInfoResp, error) { l := logic.NewGetUserInfoLogic(ctx, s.svcCtx) return l.GetUserInfo(in) }