rigged shuffle

This commit is contained in:
2025-08-01 10:49:46 -05:00
parent 3ed12cee68
commit 8d4c8f71b0
21 changed files with 578 additions and 146 deletions

View File

@@ -90,13 +90,21 @@ type GetLoginInterfaceResp struct {
type KeySelection []int
type CustomerId uuid.UUID
type CustomerID uuid.UUID
func CustomerIdToString(customerId CustomerId) string {
func CustomerIdToString(customerId CustomerID) string {
customerUuid := uuid.UUID(customerId)
return customerUuid.String()
}
func CustomerIDFromString(customerID string) (CustomerID, error) {
id, err := uuid.Parse(customerID)
if err != nil {
return CustomerID{}, err
}
return CustomerID(id), nil
}
type SessionId uuid.UUID
type UserId uuid.UUID