feat(users): user repository

This commit is contained in:
Guz
2025-05-30 18:03:56 -03:00
parent acda6dbd24
commit dbf30a9908
2 changed files with 179 additions and 0 deletions

13
model/user.go Normal file
View File

@@ -0,0 +1,13 @@
package model
import (
"time"
)
type User struct {
Username string `json:"username"` // Must be unique
Password []byte `json:"password"`
DateCreated time.Time `json:"date_created"`
DateUpdated time.Time `json:"date_updated"`
}