diff options
| author | mo khan <mo@mokhan.ca> | 2025-04-21 13:06:56 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-04-21 13:06:56 -0600 |
| commit | 1ece3b42051d26050cd612a3ed9a20122d501746 (patch) | |
| tree | 1e873073ac585efc610fa5e734f3eeeaaa69b01e /pkg/domain/user.go | |
| parent | f157746e34f62621d85b2cbda982b90d9af06125 (diff) | |
feat: attach current user if they are in the db
Diffstat (limited to 'pkg/domain/user.go')
| -rw-r--r-- | pkg/domain/user.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkg/domain/user.go b/pkg/domain/user.go index ed06dc1..4053e8f 100644 --- a/pkg/domain/user.go +++ b/pkg/domain/user.go @@ -7,3 +7,16 @@ type User struct { func NewUser() *User { return &User{} } + +func (s *User) GetID() string { + return s.ID +} + +func (s *User) SetID(id string) error { + s.ID = id + return nil +} + +func (s *User) Validate() error { + return nil +} |
