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

Generate scaffold-service faild fail when there are no dependent libraries #8

Open
0x-shanks opened this issue Jul 13, 2021 · 1 comment

Comments

@0x-shanks
Copy link
Collaborator

Describe the bug
When executing roche g scaffold-service NAME command, an error is displayed under the following conditions

  1. missing github.com/izumin5210/grapi/cmd/grapi-gen-scaffold-service
  2. missing github.com/golang/protobuf
  3. missing github.com/grpc-ecosystem/grpc-gateway
  4. missing github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/[email protected]

To Reproduce
Steps to reproduce the behavior:
execute roche g scaffold-service NAME

Expected behavior
After initialization, the dependent libraries are listed in go.mod and are ready for go mod download.

@riita10069
Copy link
Owner

You need to install protobuf in your environment.
Please Look at here.
https://github.com/protocolbuffers/protobuf

As for the other module, roche init enable to that the expected behavior you mentioned.

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