Skip to content

Commit

Permalink
Merge pull request #17 from dubbogo/ftr/stressTest
Browse files Browse the repository at this point in the history
Ftr: update protoc-gen-go-triple
  • Loading branch information
LaurenceLiZhixin authored Oct 30, 2021
2 parents b35a4f7 + f963e56 commit 46d14b5
Show file tree
Hide file tree
Showing 13 changed files with 1,392 additions and 913 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# you should install protoc, protoc-gen-go, protoc-gen-go-triple first
triple-gen:
protoc -I ./ helloworld.proto --triple_out=plugins=triple:.
protoc --go_out=. --go-triple_out=. helloworld.proto
233 changes: 233 additions & 0 deletions cmd/protoc-gen-go-triple/examples/helloworld.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
*/
syntax = "proto3";

option java_multiple_files = true;
option java_package = "io.grpc.examples.helloworld";
option java_outer_classname = "HelloWorldProto";
option objc_class_prefix = "HLW";
option go_package="./;examples";

package main;

Expand Down
134 changes: 134 additions & 0 deletions cmd/protoc-gen-go-triple/examples/helloworld_triple.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 46d14b5

Please sign in to comment.