diff --git a/db.go b/db.go index 1c32e12..fbe1da3 100644 --- a/db.go +++ b/db.go @@ -27,6 +27,7 @@ type User struct { gorm.Model Username string `json:"username"` Password string `json:"password"` + Email string `json:"email"` } func ConnectDB(dbPath string) (*gorm.DB, error) {