Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import "github.com/travisjeffery/proto-go-sql/sql.proto" was not found or had errors. #1

Open
apiculallc opened this issue Mar 1, 2021 · 1 comment

Comments

@apiculallc
Copy link

I am trying to generate the sql interfaces for my custom protobuf - yet it fails with the error

protoc --sql_out=. control_panel_api.proto 
github.com/travisjeffery/proto-go-sql/sql.proto: File not found.
control_panel_api.proto:10:1: Import "github.com/travisjeffery/proto-go-sql/sql.proto" was not found or had errors.

I wonder what is the proper way to use it?

@vbmithr
Copy link

vbmithr commented Oct 21, 2022

Same here.
Edit: OK, this file needed to be copied in protoc -I path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants