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

Do we need to keep all *.proto in git? #7

Closed
k2glyph opened this issue Feb 23, 2022 · 1 comment
Closed

Do we need to keep all *.proto in git? #7

k2glyph opened this issue Feb 23, 2022 · 1 comment

Comments

@k2glyph
Copy link

k2glyph commented Feb 23, 2022

It's an auto-generated file right @goxiaoy. Can we not put it in gitignore?

@goxiaoy
Copy link
Collaborator

goxiaoy commented Feb 23, 2022

@k2glyph Yes, we need proto files in git
We use a microservice framework called kratos
*.proto are protobuf files developed by google
make api will use
google.golang.org/grpc/cmd/protoc-gen-go-grpc to generate grpc server codes
github.com/go-kratos/kratos/cmd/protoc-gen-go-http to generate http server codes

@goxiaoy goxiaoy closed this as completed Feb 23, 2022
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