[hw-1] implement cart service

This commit is contained in:
Никита Шубин committed 2025-05-25 15:49:17 +00:00
1 parent 3d3f10647b
commit 5077f04b0c
28 files changed
+1151 -2

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
package entity
type (
UID uint64
Sku int64
)
type Cart struct {
UserID UID
Items []Sku
ItemCount map[Sku]uint32
}