From 53a58a916f6f22b4ceded3b56fd52b65b4fd9718 Mon Sep 17 00:00:00 2001 From: Joe Tsai Date: Thu, 8 Oct 2020 14:02:27 -0700 Subject: [PATCH] cmd/protoc-gen-go: remove unused protoV1Package variable The logic that formerly depended on this was deleted in https://golang.org/cl/259901. This is dead code now. Updates golang/protobuf#1077 Change-Id: Ieb1b14243d9503b1baac7026c6ce226923873405 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/260817 Trust: Joe Tsai Reviewed-by: Damien Neil --- cmd/protoc-gen-go/internal_gengo/main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/protoc-gen-go/internal_gengo/main.go b/cmd/protoc-gen-go/internal_gengo/main.go index 70819339..6338c44d 100644 --- a/cmd/protoc-gen-go/internal_gengo/main.go +++ b/cmd/protoc-gen-go/internal_gengo/main.go @@ -57,7 +57,6 @@ var ( protojsonPackage goImportPath = protogen.GoImportPath("google.golang.org/protobuf/encoding/protojson") protoreflectPackage goImportPath = protogen.GoImportPath("google.golang.org/protobuf/reflect/protoreflect") protoregistryPackage goImportPath = protogen.GoImportPath("google.golang.org/protobuf/reflect/protoregistry") - protoV1Package goImportPath = protogen.GoImportPath("github.com/golang/protobuf/proto") ) type goImportPath interface {