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

13 lines
240 B
Go
Raw Normal View History

2019-05-06 01:40:41 +03:00
package models
2019-05-22 00:09:47 +03:00
const (
DefaultUser string = "admin"
DefaultPassword string = "admin"
)
2019-05-06 01:40:41 +03:00
type User struct {
ID string `json:"id" gorm:"primary_key"`
ApiKey string `json:"api_key" gorm:"unique"`
Password string `json:"-"`
2019-05-06 01:40:41 +03:00
}