Is there some way to make the protoc generator generate correct Golang imports?
Im having trouble importing other proto files and generating Go code.
If I run the compiler using
protoc --go_out=. --proto_path=path\to\my\includes foo.proto
the generated code will contain a ´import "."´
package messages
import fmt "fmt"
import math "math"
import myimport "." //<---- here
which is not correct, that needs to be pointing to the generated code in the source folder of the imported proto.
So I guess my question really is how you make the Go generator know where the imported source code exists.
Is there anything I can do?
//Roger