mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-24 22:06:43 +01:00
11 lines
238 B
Go
11 lines
238 B
Go
package db
|
|
|
|
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"`
|
|
}
|