podhmo / gos

wip
MIT License
0 stars 0 forks source link

protobuf #28

Open podhmo opened 1 year ago

podhmo commented 1 year ago
podhmo commented 1 year ago

https://github.com/search?q=lang%3A%22Protocol+Buffers%22+&type=code

podhmo commented 1 year ago

examples

podhmo commented 1 year ago

validation

https://github.com/bufbuild/protovalidate

https://github.com/bufbuild/protovalidate/blob/main/proto/protovalidate-testing/tests/example/v1/example.proto

podhmo commented 1 year ago

simplified version

└── greet
    └── v1
        └── greet.proto
syntax = "proto3";

package greet.v1;

option go_package = "example/gen/greet/v1;greetv1";

message GreetRequest {
  string name = 1;
}

message GreetResponse {
  string greeting = 1;
}

service GreetService {
  rpc Greet(GreetRequest) returns (GreetResponse) {}
}
podhmo commented 1 year ago

doc (html)

https://github.com/pseudomuto/protoc-gen-doc

https://rawgit.com/pseudomuto/protoc-gen-doc/master/examples/doc/example.html