package model import "time" type Token struct { AccessToken string `json:"_id"` UserID int64 `json:"user_id"` ClientToken string `json:"client_token"` ProfileId string `json:"profile_id"` Usable bool `json:"usable"` IssueDate time.Time `json:"issue_date"` } func (Token) TableName() string { return "token" }