aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2022-05-07 12:13:38 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2022-05-07 12:13:38 +0100
commit163d745b78a0451087bf4a12216437c8dcbf888f (patch)
tree98cebdeb1a878c8c290d20411aa68796169c5ca2
parentf36b620ffb95e14ced6b9f21bad1df153f560109 (diff)
Fix package name
-rw-r--r--internal/grpc_test/echo.proto4
-rw-r--r--internal/grpc_test/grpc_test.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/internal/grpc_test/echo.proto b/internal/grpc_test/echo.proto
index 513a7bc..528c17c 100644
--- a/internal/grpc_test/echo.proto
+++ b/internal/grpc_test/echo.proto
@@ -2,8 +2,8 @@
syntax = "proto3";
-package grpc_testing;
-option go_package = ".;grpc_testing";
+package grpc_test;
+option go_package = ".;grpc_test";
service Echo {
rpc Echo(EchoRequest) returns (EchoResponse);
diff --git a/internal/grpc_test/grpc_test.go b/internal/grpc_test/grpc_test.go
index 1bd782d..6c4ffb9 100644
--- a/internal/grpc_test/grpc_test.go
+++ b/internal/grpc_test/grpc_test.go
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: CC0-1.0
-package grpc_testing
+package grpc_test
//go:generate protoc --go_out=. --go-grpc_out=. echo.proto