refactor: change all user to account
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package account
|
||||
|
||||
type User struct {
|
||||
type Account struct {
|
||||
ID uint `gorm:"primaryKey" json:"id"`
|
||||
Username string `gorm:"unique" json:"username"`
|
||||
Password string `json:"-"`
|
||||
|
||||
Reference in New Issue
Block a user