From 7fa2ee80243b1539cbdbed0e5e44f587e60d14cc Mon Sep 17 00:00:00 2001 From: Bret Mckee Date: Mon, 1 Feb 2021 14:33:23 -0800 Subject: [PATCH] rename api.proto files to avoid namespace collision warning It seems like a proto library problem that we were getting these warnings, but we were. See https://github.com/golang/protobuf/issues/1122 for more details. At the time of this commit that issue is still open, but since I'm renaming the files it should fix our problem. --- Makefile | 14 +++++++------- .../proto/backend_api.proto} | 4 ++-- backend/cmd/main.go | 2 +- frontend/cmd/main.go | 4 ++-- .../proto/frontend_api.proto} | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) rename backend/{api/proto/api.proto => backendapi/proto/backend_api.proto} (70%) rename frontend/{api/proto/api.proto => frontendapi/proto/frontend_api.proto} (83%) diff --git a/Makefile b/Makefile index c09c704..38f948a 100644 --- a/Makefile +++ b/Makefile @@ -26,19 +26,19 @@ grpc-tools: %.pb.gw.go: proto/%.proto ${PROTOC} -I "$(