1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00
wakapi/models/user.go
2019-05-21 23:09:47 +02:00

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:"-"`
}