Semaphore/models/APIToken.go

11 lines
242 B
Go
Raw Normal View History

package models
2016-04-18 02:58:29 +02:00
import "time"
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"`
}