ソースを参照

Extended User type

Blallo 5 年 前
コミット
fd3ccc753e
1 ファイル変更5 行追加3 行削除
  1. 5 3
      db/db.go

+ 5 - 3
db/db.go

@@ -9,9 +9,11 @@ import (
 )
 
 type User struct {
-	UserName    string
-	Email       string
-	DateCreated string
+	Id           string
+	UserName     string
+	Email        string
+	DateCreated  string
+	PasswordHash string
 }
 
 type DB struct {