I am building a go binary and it is using go module through vendor to manage the dependencies. But each time I am building the binary an error like "proto.IsVersion3" is presented.
Now I think this may be because the dependency under vendor doesn't have its own vendor again, that is to say, sub-package. But how can I overcome this issue?
The whole process is like `go mod init && go mod tidy && go mod vendor && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=off go (1.12) build ....'