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

/api/proto to store protobuf definitions #219

Open
alexrolopez opened this issue Mar 21, 2023 · 1 comment
Open

/api/proto to store protobuf definitions #219

alexrolopez opened this issue Mar 21, 2023 · 1 comment

Comments

@alexrolopez
Copy link

Hello we are starting a new project in go that has its API defined as protobuf. Every place I read about protobuf seems to imply that the *.proto files always live in /proto folder (directly in the root of the project).

However this guide, in https://github.com/golang-standards/project-layout#api, says that /api is a good idea for "protocol definition files" as well. I tend to agree, conceptually, these are the API for us as well. However, I would like to see some more references to this or examples to projects that use this if possible, as I didn't really found anything other than here. Thanks!

@kcq
Copy link
Member

kcq commented Aug 19, 2023

@alexrolopez good idea to add protobuf examples

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