home to your local SPACEGIRL 馃挮
arimelody.space
1package model
2
3import (
4 "database/sql"
5 "time"
6)
7
8type Session struct {
9 Token string `json:"-" db:"token"`
10 UserAgent string `json:"user_agent" db:"user_agent"`
11 CreatedAt time.Time `json:"created_at" db:"created_at"`
12 ExpiresAt time.Time `json:"-" db:"expires_at"`
13
14 Account *Account `json:"-" db:"-"`
15 AttemptAccount *Account `json:"-" db:"-"`
16 Message sql.NullString `json:"-" db:"message"`
17 Error sql.NullString `json:"-" db:"error"`
18}