replace Id with ID

This commit is contained in:
2025-02-13 08:00:49 -06:00
parent f948a06b66
commit 32facb1767
19 changed files with 172 additions and 169 deletions

View File

@@ -8,8 +8,8 @@ import (
)
type User struct {
Id UserId
CustomerId CustomerId
ID UserID
CustomerID CustomerID
Email UserEmail
EncipheredPasscode EncipheredNKode
Kp KeypadDimension
@@ -130,13 +130,13 @@ func NewUser(customer Customer, userEmail string, passcodeIdx []int, ui UserInte
return nil, err
}
newUser := User{
Id: UserId(uuid.New()),
ID: UserID(uuid.New()),
Email: UserEmail(userEmail),
EncipheredPasscode: *encipheredNKode,
CipherKeys: *newKeys,
Interface: ui,
Kp: kp,
CustomerId: customer.Id,
CustomerID: customer.ID,
}
return &newUser, nil
}