Skip to content

Commit

Permalink
Merge pull request #49 from w-h-a/payment-proto-again
Browse files Browse the repository at this point in the history
refactor: payment proto
  • Loading branch information
w-h-a committed Jul 17, 2024
2 parents 926a297 + 3446603 commit 34f67e1
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 26 deletions.
55 changes: 32 additions & 23 deletions proto/payment/payment.pb.go

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

7 changes: 4 additions & 3 deletions proto/payment/payment.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ option go_package = "github.com/w-h-a/pkg/proto/payment";

// domain
message Payment {
string paymentId = 2;
string orderId = 1;
string payment = 1;
string order = 2;
string userId = 3;
}

// create request/response
message CreateRequest {
string orderId = 1;
string orderKey = 1;
string token = 2;
}

Expand Down

0 comments on commit 34f67e1

Please sign in to comment.