Skip to content

Commit 08f868f

Browse files
committed
add mono-repo
1 parent 77b2e9c commit 08f868f

File tree

1,151 files changed

+42596
-1494
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,151 files changed

+42596
-1494
lines changed

6_micro-cluster/README.md

+1-1

9_order-grpc-distributed-transaction/README.md

+7-5

9_order-grpc-distributed-transaction/coupon/api/coupon/v1/coupon.pb.go renamed to 9_order-grpc-distributed-transaction/example-1-multi-repo/coupon/api/coupon/v1/coupon.pb.go

+11-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

9_order-grpc-distributed-transaction/coupon/api/coupon/v1/coupon.pb.validate.go renamed to 9_order-grpc-distributed-transaction/example-1-multi-repo/coupon/api/coupon/v1/coupon.pb.validate.go

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

9_order-grpc-distributed-transaction/coupon/api/coupon/v1/coupon.proto renamed to 9_order-grpc-distributed-transaction/example-1-multi-repo/coupon/api/coupon/v1/coupon.proto

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ service coupon {
1515
}
1616

1717
message CouponUseRequest {
18-
uint64 couponId = 1 [(validate.rules).uint64.gt = 0];
18+
uint64 couponID = 1 [(validate.rules).uint64.gt = 0];
1919
}
2020

2121
message CouponUseReply {
2222
}
2323

2424
message couponUseRevertRequest {
25-
uint64 couponId = 1 [(validate.rules).uint64.gt = 0];
25+
uint64 couponID = 1 [(validate.rules).uint64.gt = 0];
2626
}
2727

2828
message couponUseRevertReply {

9_order-grpc-distributed-transaction/coupon/api/coupon/v1/coupon_grpc.pb.go renamed to 9_order-grpc-distributed-transaction/example-1-multi-repo/coupon/api/coupon/v1/coupon_grpc.pb.go

+11-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

9_order-grpc-distributed-transaction/coupon/configs/coupon.yml renamed to 9_order-grpc-distributed-transaction/example-1-multi-repo/coupon/configs/coupon.yml

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ grpc:
3535
caFile: "" # ca certificate file, valid only in "two-way", absolute path
3636

3737

38-
3938
# grpc client settings, support for setting up multiple grpc clients
4039
grpcClient:
4140
- name: "your-rpc-server-name" # grpc service name, used for service discovery

9_order-grpc-distributed-transaction/coupon/internal/service/coupon.go renamed to 9_order-grpc-distributed-transaction/example-1-multi-repo/coupon/internal/service/coupon.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

9_order-grpc-distributed-transaction/coupon/internal/service/coupon_client_test.go renamed to 9_order-grpc-distributed-transaction/example-1-multi-repo/coupon/internal/service/coupon_client_test.go

+36-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)