1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00
wakapi/models/user.go
Ferdinand Mütsch b4c8e6ecb6 Introduce GORM.
2019-05-11 17:49:56 +02:00

7 lines
129 B
Go

package models
type User struct {
ID string `json:"id" gorm:"primary_key"`
ApiKey string `json:"api_key" gorm:"unique"`
}