Skip to content

/api/proto to store protobuf definitions #219

Open
@alexrolopez

Description

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions