Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Token ¶
type Token struct {
UserID string `sqlx:"user_id" validate:"required"`
Provider string `sqlx:"provider" validate:"required"`
EncToken string `sqlx:"enc_token" validate:"required"`
CreatedAt *time.Time `sqlx:"created_at" json:",omitempty"`
UpdatedAt *time.Time `sqlx:"updated_at" json:",omitempty"`
Has *TokenHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}
Token is a mutable model for PATCH upserts (internal use only).
func (*Token) SetCreatedAt ¶
func (*Token) SetEncToken ¶
func (*Token) SetProvider ¶
func (*Token) SetUpdatedAt ¶
Click to show internal directories.
Click to hide internal directories.