Documentation ¶ Index ¶ type Tokens type User Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Tokens ¶ type Tokens struct { ID uint `gorm:"autoIncrement"` Username string `gorm:"primaryKey"` AccessToken string RefreshToken string CreatedAt time.Time } type User ¶ type User struct { ID uint `gorm:"autoIncrement"` FirstName string LastName string Username string `gorm:"primaryKey"` Password string Role string Email string } Source Files ¶ View all Source files tokensModel.go userModel.go Click to show internal directories. Click to hide internal directories.