fix: using standalone && auto tag set && fielaligment (#103)

This commit is contained in:
Denis
2026-03-01 18:13:34 +03:00
committed by GitHub
parent 2f67df5079
commit 545af44de7
13 changed files with 268 additions and 134 deletions

17
example/stream_test.proto Normal file
View File

@@ -0,0 +1,17 @@
syntax = "proto3";
package example;
option go_package = "go.unistack.org/protoc-gen-go-micro/v4/example/out/go;examplepb";
service StreamExample {
// server-side streaming
rpc ServerStream(StreamReq) returns (stream StreamRsp) {};
// client-side streaming
rpc ClientStream(stream StreamReq) returns (StreamRsp) {};
// bidirectional streaming
rpc BidiStream(stream StreamReq) returns (stream StreamRsp) {};
}
message StreamReq { string name = 1; }
message StreamRsp { string data = 1; }