refactor/serializing (#1)
Co-authored-by: matst80 <mats.tornberg@gmail.com> Reviewed-on: https://git.tornberg.me/mats/go-cart-actor/pulls/1
This commit was merged in pull request #1.
This commit is contained in:
18
proto/messages.proto
Normal file
18
proto/messages.proto
Normal file
@@ -0,0 +1,18 @@
|
||||
syntax = "proto3";
|
||||
package messages;
|
||||
option go_package = ".;messages";
|
||||
|
||||
message AddRequest {
|
||||
string Sku = 2;
|
||||
}
|
||||
|
||||
message AddItem {
|
||||
int32 Quantity = 2;
|
||||
int64 Price = 3;
|
||||
string Sku = 4;
|
||||
string Name = 5;
|
||||
string Image = 6;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user