hmn/src/models/session.go

11 lines
201 B
Go
Raw Normal View History

2021-03-27 21:10:11 +00:00
package models
import "time"
type Session struct {
ID string `db:"id"`
Username string `db:"username"`
ExpiresAt time.Time `db:"expires_at"`
CSRFToken string `db:"csrf_token"`
2021-03-27 21:10:11 +00:00
}