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

Erro ao executar comando protoc #3

Closed
heroneto opened this issue Apr 6, 2022 · 1 comment
Closed

Erro ao executar comando protoc #3

heroneto opened this issue Apr 6, 2022 · 1 comment

Comments

@heroneto
Copy link

heroneto commented Apr 6, 2022

option go_package = "protofiles;pb";

Quando executo o comando protoc ocorre o erro abaixo:
The import path must contain at least one period ('.') or forward slash ('/') character.

Encontrei uma solução. Caso ocorra erro ao executar o comando protoc, é necessário add o ./ antes do protofiles;pb . Da seguinte forma:

option go_package = "./protofiles;pb";

@henriqueholtz
Copy link
Contributor

Olá @heroneto tudo bem? A correção é bem simples como citado no pull request.

Também expliquei no comentário do video

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

3 participants