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:
2024-11-08 23:02:09 +01:00
parent 4cc41bcec6
commit 1b75f81119
19 changed files with 576 additions and 409 deletions

18
proto/messages.proto Normal file
View 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;
}