瀏覽代碼

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 {