Protobuf: go get github.com/golang/protobuf fail with lpackage github.com/golang/protobuf: no Go files

Created on 8 Aug 2018  路  6Comments  路  Source: golang/protobuf

lpackage github.com/golang/protobuf: no Go files in xxx

question waiting-for-info

Most helpful comment

github.com/golang/protobuf is not a package, and contains no .go files. As Joe said above, you probably want

go get -u github.com/golang/protobuf/proto

instead.

All 6 comments

Hi, can you try:

go get -u github.com/golang/protobuf/proto

instead?

Closing, as we try to the issue tracker about actionable items. Let me know if you're still running into an issue.

both go get -u github.com/golang/protobuf and go get github.com/golang/protobuf gives the exact same problem, "no go files in $GOPATH/src/github.com/golang/protobuf"

$GOPATH/src/github.com/golang/protobuf

image

github.com/golang/protobuf is not a package, and contains no .go files. As Joe said above, you probably want

go get -u github.com/golang/protobuf/proto

instead.

my bad, thanks

Was this page helpful?
0 / 5 - 0 ratings