memos/proto/apiv2/example.proto
boojack 9abf0eca1b
feat: add buf configuration files and example proto (#2048)
* feat: add proto and buf configuration files

* chore: buf generate

* chore: update comments

* chore: go mod tidy
2023-07-29 19:44:09 +08:00

12 lines
293 B
Protocol Buffer

syntax = "proto3";
package memos.apiv2;
option go_package = "gen-go/apiv2";
// Person is a simple message type containing information about a person.
// It is an example of the kind of message that one might define in a protobufs file.
message Person {
string name = 1;
int32 id = 2;
}