From 6f757ecf1c299e1d17c3d674da80e087da744819 Mon Sep 17 00:00:00 2001 From: Manuel Mendez Date: Tue, 8 Sep 2020 19:01:48 -0400 Subject: [PATCH] protoc.sh: Run goimports -w after generating pb.go files So the pb.go files are in line with our coding standards. Signed-off-by: Manuel Mendez --- protos/protoc.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/protos/protoc.sh b/protos/protoc.sh index c4e50f3fb..f2cba378d 100755 --- a/protos/protoc.sh +++ b/protos/protoc.sh @@ -6,3 +6,4 @@ for proto in hardware packet template workflow; do echo "Generating ${proto}.pb.go..." protoc -I ./ -I ./common/ -I "$GOPATH"/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis "${proto}/${proto}.proto" --go_out=plugins=grpc:./ --grpc-gateway_out=logtostderr=true:. done +goimports -w .