Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Competition ¶
type EvidenceConnection ¶
type EvidenceConnection struct { gorm.Model SourceID int `gorm:"index:evidence_connection_idx"` Source Evidence `gorm:"constraint:OnUpdate:CASCADE,OnDelete:CASCADE"` DestinationID int `gorm:"index:evidence_connection_idx"` Destination Evidence `gorm:"constraint:OnUpdate:CASCADE,OnDelete:CASCADE"` UserID int `gorm:"index:evidence_connection_idx"` User User `gorm:"constraint:OnUpdate:CASCADE,OnDelete:CASCADE"` }
type EvidenceReport ¶
type HighlightArea ¶
type User ¶
type User struct { gorm.Model Username string `gorm:"unique"` Email string `gorm:"unique"` Password string Type string `gorm:"default:user"` HasWriteup bool `gorm:"default:false"` Grade int `gorm:"default:0"` ComputerID string ComputerPassword string }
func (*User) CheckPassword ¶
func (*User) HashPassword ¶
Click to show internal directories.
Click to hide internal directories.