From a56cc5fbaad0ab45c85000384c16f3fcefa8e3f8 Mon Sep 17 00:00:00 2001 From: marsevilspirit Date: Sun, 3 Nov 2024 19:40:18 +0800 Subject: [PATCH] fix fmt --- compatibility/rpc/triple/pb/dubbogo-grpc/grpc-server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compatibility/rpc/triple/pb/dubbogo-grpc/grpc-server/main.go b/compatibility/rpc/triple/pb/dubbogo-grpc/grpc-server/main.go index 2a90048a6..c01064eb5 100644 --- a/compatibility/rpc/triple/pb/dubbogo-grpc/grpc-server/main.go +++ b/compatibility/rpc/triple/pb/dubbogo-grpc/grpc-server/main.go @@ -79,7 +79,7 @@ func (s *GreeterProvider) SayHelloStream(svr pb.Greeter_SayHelloStreamServer) er } func (s *GreeterProvider) SayHello(ctx context.Context, in *pb.HelloRequest) (*pb.User, error) { - fmt.Printf("Dubbo3 GreeterProvider get user name = %s\n" + in.Name) + fmt.Printf("Dubbo3 GreeterProvider get user name = %s\n", in.Name) return &pb.User{Name: "Hello " + in.Name, Id: "12345", Age: 21}, nil }