diff --git a/service/account/user.go b/service/account/user.go new file mode 100644 index 0000000..aa8c8d8 --- /dev/null +++ b/service/account/user.go @@ -0,0 +1,18 @@ +package account + +import ( + "git.lumeweb.com/LumeWeb/portal/model" + "strconv" +) + +type User struct { + account *model.Account +} + +func (u User) GetID() (string, error) { + return strconv.Itoa(int(u.account.ID)), nil +} + +func NewUser(account *model.Account) *User { + return &User{account: account} +}