I’m using google api and protoc-gen-validate as dependency. How can I import these dependencies?
Here are the imports in my proto file:
import "google/api/field_behavior.proto";
import "google/protobuf/any.proto";
import "google/protobuf/empty.proto";
import "validate/validate.proto";
I tried cloning these dependencies from github and import them as this:
const client = new grpc.Client();
client.load(["~/vts-api/vts-idl/proto/vts/api/v1", "~/googleapis/google/api", "~/protoc-gen-validate/validate"], "internal.proto");
But I got error:
ERRO[0000] GoError: internal.proto:12:8: stat /***/protoc-gen-validate/validate/google/api/field_behavior.proto: no such file or directory
There is field_behavior.proto in ~/googleapis/google/api.