moul / protoc-gen-gotemplate

:open_file_folder: generic protocol generator based on golang's text/template (grpc/protobuf)
https://manfred.life/protoc-gen-gotemplate
MIT License
437 stars 70 forks source link

[question] import operator doesn't work. #99

Closed hiroki-money closed 6 years ago

hiroki-money commented 6 years ago

My proto file uses import

import "messages/messages.proto";
import "types/types.proto";

These file is same directory to current file.

After executing protoc command, error messages happen.

messages/messages.proto: File not found.
types/types.proto: File not found.

I think, path information is wrong somehow. How can I fix it?

hiroki-money commented 6 years ago

fixed it.