package models import "time" // APIToken is given to a user to allow API access type APIToken struct { ID string `db:"id" json:"id"` Created time.Time `db:"created" json:"created"` Expired bool `db:"expired" json:"expired"` UserID int `db:"user_id" json:"user_id"` }