mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
13 lines
240 B
Go
13 lines
240 B
Go
package models
|
|
|
|
const (
|
|
DefaultUser string = "admin"
|
|
DefaultPassword string = "admin"
|
|
)
|
|
|
|
type User struct {
|
|
ID string `json:"id" gorm:"primary_key"`
|
|
ApiKey string `json:"api_key" gorm:"unique"`
|
|
Password string `json:"-"`
|
|
}
|