Skip to content

Commit a5f1ba0

Browse files
committed
fix: restore canonical protobuf APIv2 import paths for generated code
1 parent 198f72d commit a5f1ba0

File tree

1 file changed

+6
-6
lines changed
  • cmd/protoc-gen-go/internal_gengo

1 file changed

+6
-6
lines changed

cmd/protoc-gen-go/internal_gengo/main.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ const (
5151
// patched to support unique build environments that impose restrictions
5252
// on the dependencies of generated source code.
5353
var (
54-
protoPackage goImportPath = protogen.GoImportPath("github.com/xen0n/protobuf-gogogo/proto")
55-
protoifacePackage goImportPath = protogen.GoImportPath("github.com/xen0n/protobuf-gogogo/runtime/protoiface")
56-
protoimplPackage goImportPath = protogen.GoImportPath("github.com/xen0n/protobuf-gogogo/runtime/protoimpl")
57-
protojsonPackage goImportPath = protogen.GoImportPath("github.com/xen0n/protobuf-gogogo/encoding/protojson")
58-
protoreflectPackage goImportPath = protogen.GoImportPath("github.com/xen0n/protobuf-gogogo/reflect/protoreflect")
59-
protoregistryPackage goImportPath = protogen.GoImportPath("github.com/xen0n/protobuf-gogogo/reflect/protoregistry")
54+
protoPackage goImportPath = protogen.GoImportPath("google.golang.org/protobuf/proto")
55+
protoifacePackage goImportPath = protogen.GoImportPath("google.golang.org/protobuf/runtime/protoiface")
56+
protoimplPackage goImportPath = protogen.GoImportPath("google.golang.org/protobuf/runtime/protoimpl")
57+
protojsonPackage goImportPath = protogen.GoImportPath("google.golang.org/protobuf/encoding/protojson")
58+
protoreflectPackage goImportPath = protogen.GoImportPath("google.golang.org/protobuf/reflect/protoreflect")
59+
protoregistryPackage goImportPath = protogen.GoImportPath("google.golang.org/protobuf/reflect/protoregistry")
6060
)
6161

6262
type goImportPath interface {

0 commit comments

Comments
 (0)