Unmet dependencies on code.google.com/p/gogoprotobuf/proto
When running go get github.com/DirkBrand/protobuf-code-formatter/protoc-gen-pretty (like suggested in the README files) I get the following error
package code.google.com/p/gogoprotobuf/proto: unrecognized import path "code.google.com/p/gogoprotobuf/proto" (parse https://code.google.com/p/gogoprotobuf/proto?go-get=1: no go-import meta tags (meta tag github.com/gogo/protobuf did not match import path code.google.com/p/gogoprotobuf/proto))
Go version - go version go1.8 linux/amd64
Gogoprotobuf has been moved to github at github.com/gogo/protobuf Because code.google.com is no longer maintained.
I guess the code just needs to be updated
On Thu, 11 May 2017, 13:14 Kfir Gollan, [email protected] wrote:
When running go get github.com/DirkBrand/protobuf-code-formatter/protoc-gen-pretty (like suggested in the README files) I get the following error
package code.google.com/p/gogoprotobuf/proto: unrecognized import path "code.google.com/p/gogoprotobuf/proto" (parse https://code.google.com/p/gogoprotobuf/proto?go-get=1: no go-import meta tags (meta tag github.com/gogo/protobuf did not match import path code.google.com/p/gogoprotobuf/proto))
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DirkBrand/protobuf-code-formatter/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/ABvsLVjqGuy34KNp09O2fVJaoQZ7T3fTks5r4u2QgaJpZM4NX2bX .
I updated all of the code (locally) to point to the new locations on GitHub and it still tries to fetch them from Google Code for some weird reason.
$ go get -v ./...
github.com/DirkBrand/protobuf-code-formatter (download)
Fetching https://code.google.com/p/gogoprotobuf/proto?go-get=1
Parsing meta tags from https://code.google.com/p/gogoprotobuf/proto?go-get=1 (status code 200)
package code.google.com/p/gogoprotobuf/proto: unrecognized import path "code.google.com/p/gogoprotobuf/proto" (parse https://code.google.com/p/gogoprotobuf/proto?go-get=1: no go-import meta tags (meta tag github.com/gogo/protobuf did not match import path code.google.com/p/gogoprotobuf/proto))
github.com/gogo/protobuf (download)
I changed the local references, and it worked for me.
Any fix for this one?
Still stuck with the same issue.. Any fixes?