Co-authored-by: matst80 <mats.tornberg@gmail.com> Reviewed-on: https://git.tornberg.me/mats/go-cart-actor/pulls/1
19 lines
235 B
Protocol Buffer
19 lines
235 B
Protocol Buffer
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;
|
|
}
|
|
|
|
|
|
|