summaryrefslogtreecommitdiff
path: root/grpc_testing/grpc_test.go
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2022-05-07 11:06:37 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2022-05-07 11:06:37 +0100
commitfd7dcf508a153ddb8c9bc7ff50b4a406a25eb67c (patch)
treed3d9ac9553d38d330f0ae4a86273d72a6698b721 /grpc_testing/grpc_test.go
parent64c4bcdb9da869fd982a2add8621b76fae0fcb7a (diff)
Fix gRPC tests
Diffstat (limited to 'grpc_testing/grpc_test.go')
-rw-r--r--grpc_testing/grpc_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/grpc_testing/grpc_test.go b/grpc_testing/grpc_test.go
index 53e2eaa..1bd782d 100644
--- a/grpc_testing/grpc_test.go
+++ b/grpc_testing/grpc_test.go
@@ -2,7 +2,7 @@
package grpc_testing
-//go:generate protoc --go_opt=paths=source_relative --go_out=plugins=grpc:. echo.proto
+//go:generate protoc --go_out=. --go-grpc_out=. echo.proto
import (
"context"
@@ -17,7 +17,7 @@ import (
"go.awhk.org/pipeln"
)
-type impl struct{}
+type impl struct{ UnimplementedEchoServer }
var _ EchoServer = impl{}