diff options
author | Zach Berwaldt <zberwaldt@tutamail.com> | 2024-03-15 18:49:43 -0400 |
---|---|---|
committer | Zach Berwaldt <zberwaldt@tutamail.com> | 2024-03-15 18:49:43 -0400 |
commit | 9cae9c1d2a0b4f7fa72f3075541b9ffafe1a7275 (patch) | |
tree | 960fa4f96a1328861a06d97180da8601af6855da /api/internal/models/user.go | |
parent | 8fab2d03bce82e4dee798ebffb1e93c557f62a4b (diff) |
Add routes for preference, clean up and add types
Diffstat (limited to 'api/internal/models/user.go')
-rw-r--r-- | api/internal/models/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/internal/models/user.go b/api/internal/models/user.go index 2a3e6fd..ca5daa4 100644 --- a/api/internal/models/user.go +++ b/api/internal/models/user.go | |||
@@ -3,7 +3,7 @@ package models | |||
3 | import "github.com/google/uuid" | 3 | import "github.com/google/uuid" |
4 | 4 | ||
5 | type User struct { | 5 | type User struct { |
6 | ID int64 `json:"-"` | 6 | ID int64 `json:"id"` |
7 | Name string `json:"name"` | 7 | Name string `json:"name"` |
8 | UUID uuid.UUID `json:"uuid"` | 8 | UUID uuid.UUID `json:"uuid"` |
9 | Password string `json:"-"` | 9 | Password string `json:"-"` |