Hi everyone,

I get the following error while running : protoc --go_out=. test.proto

error: github.com/gogo/protobuf/gogoproto/gogo.proto: file not found
import "github.com/gogo/protobuf/gogoproto/gogo.proto" was not found or had 
errors.

The file definitely exists on the imported path. I read somewhere that it 
might be related to the make file  in the gogoproto folder
here is how make file looks like: 

regenerate:
go install github.com/gogo/protobuf/protoc-gen-gogo
protoc 
--gogo_out=Mgoogle/protobuf/descriptor.proto=github.com/gogo/protobuf/protoc-gen-gogo/descriptor:../../../../
 
--proto_path=../../../../:../protobuf/:. *.proto

restore:
cp gogo.pb.golden gogo.pb.go

preserve:
cp gogo.pb.go gogo.pb.golden


Thanks 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to