aboutsummaryrefslogtreecommitdiff
path: root/grpc_testing/grpc_test.go
diff options
context:
space:
mode:
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{}