Skip to content

Commit

Permalink
repos: change protobuf import path to google.golang.org/protobuf
Browse files Browse the repository at this point in the history
The import path of the https://go.googlesource.com/protobuf repository
is google.golang.org/protobuf, as can be seen by looking at its go.mod
file at https://go.googlesource.com/protobuf/+/refs/tags/v1.20.0/go.mod#1.

https://github.com/google/protobuf is the C++ protobuf repository.

It was unintentionally changed to an invalid import path during the
refactor in CL 208697 and CL 210461, likely due to a mix-up with a
similar-looking import path github.com/golang/protobuf used for
protobuf API v1. See https://go.googlesource.com/protobuf/#historical-legacy.

Updates golang/go#36047

Change-Id: I03046f33cda3d0c5efa7a2a6059a1cf5c71d6c34
Reviewed-on: https://go-review.googlesource.com/c/build/+/221821
Reviewed-by: Damien Neil <[email protected]>
  • Loading branch information
dmitshur committed Mar 2, 2020
1 parent bb8466f commit c6b82d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repos/repos.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func init() {
add(&Repo{
GoGerritProject: "protobuf",
MirrorToGitHub: true,
ImportPath: "github.com/google/protobuf",
ImportPath: "google.golang.org/protobuf",
gitHubRepo: "protocolbuffers/protobuf-go",
})
}
Expand Down

0 comments on commit c6b82d5

Please sign in to comment.