update
All checks were successful
Build and Publish / BuildAndDeployAmd64 (push) Successful in 28s
Build and Publish / BuildAndDeploy (push) Successful in 2m32s

This commit is contained in:
matst80
2024-11-13 23:12:09 +01:00
parent 0a0fd1738c
commit 78abef7d73
4 changed files with 36 additions and 5 deletions

View File

@@ -18,6 +18,9 @@ type CartIdPayload struct {
}
func MakeCartInnerFrame(id CartId, payload []byte) []byte {
if payload == nil {
return id[:]
}
return append(id[:], payload...)
}