Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { gorm.Model DiscordId string `gorm:"unique;size:128"` IsDraft bool `gorm:"default:true"` PhoneNumber string `gorm:"size:128"` IsSubscribed bool Age int Gender string `gorm:"size:128"` Pronoun string `gorm:"size:128"` Ethnicity pgtype.JSONB `gorm:"type:jsonb;default:'[]'"` Country string `gorm:"size:128"` City string `gorm:"size:128"` Province string `gorm:"size:128"` EmergencyName string `gorm:"size:128"` EmergencyNumber string `gorm:"size:128"` EmergencyRelationship string `gorm:"size:128"` ShirtSize ShirtSize DietRestriction pgtype.JSONB `gorm:"type:jsonb;default:'[]'"` Day1Dinner bool Day2Breakfast bool Day2Lunch bool Day2Dinner bool Day3Breakfast bool AdditionalInfo string `gorm:"size:128"` Education string `gorm:"size:128"` School string `gorm:"size:128"` Program string `gorm:"size:128"` ResumeLink string `gorm:"size:5000"` ResumeFilename string `gorm:"size:128"` ResumeHash string `gorm:"size:128"` ResumeExpiry string `gorm:"size:128"` Portfolio string `gorm:"size:128"` Github string `gorm:"size:128"` Linkedin string `gorm:"size:128"` ResumeConsent bool HackathonExperience string `gorm:"size:128"` DeerhacksExperience pgtype.JSONB `gorm:"type:jsonb;default:'[]'"` TeamPreference string `gorm:"size:128"` Interests pgtype.JSONB `gorm:"type:jsonb;default:'[]'"` DeerhacksPitch string `gorm:"size:1500"` FutureTech string `gorm:"size:1500"` DeerhacksReach string `gorm:"size:128"` MlhCodeAgreement bool MlhSubscribe bool MlhAuthorize bool }
type DiscordDetails ¶
type DiscordError ¶
type DiscordUser ¶
type DiscordUser struct { ID string `json:"id"` Username string `json:"username"` Avatar string `json:"avatar"` Discriminator string `json:"discriminator"` PublicFlags int `json:"public_flags"` Flags int `json:"flags"` Banner string `json:"banner"` AccentColor int `json:"accent_color"` GlobalName string `json:"global_name"` AvatarDecorationData string `json:"avatar_decoration"` BannerColor string `json:"banner_color"` MFAEnabled bool `json:"mfa_enabled"` Locale string `json:"locale"` PremiumType int `json:"premium_type"` Email string `json:"email"` Verified bool `json:"verified"` }
type JoinGuildQueue ¶
func (JoinGuildQueue) TableName ¶
func (JoinGuildQueue) TableName() string
type Status ¶
type Status string
const ( Pending Status = "pending" // Pending Email Verification Registering Status = "registering" // Email Verified, Registering for DeerHacks Applied Status = "applied" // Application Submitted Selected Status = "selected" // Selected to Attend DeerHacks, Pending Confirmation Accepted Status = "accepted" // Accepted to Attend DeerHacks Rejected Status = "rejected" // Application Rejected Attended Status = "attended" // Signed in at DeerHacks Admin Status = "admin" // DeerHacks Tech Organizers Moderator Status = "moderator" // DeerHacks Moderators Volunteer Status = "volunteer" // DeerHacks Volunteers Guest Status = "guest" //DeerHacks Guests )
type UpdateRoleQueue ¶
func (UpdateRoleQueue) TableName ¶
func (UpdateRoleQueue) TableName() string
type User ¶
type User struct { gorm.Model DiscordId string `gorm:"unique"` Avatar string FirstName string `gorm:"size:128"` LastName string `gorm:"size:128"` Username string `gorm:"size:128"` Email string `gorm:"unique;size:128"` Status Status `gorm:"default:pending"` QRCode string `gorm:"unique"` InternalStatus string InternalNotes string CheckIns json.RawMessage `gorm:"type:jsonb"` AuthToken string RefreshToken string TokenExpiry string ResumeUpdateCount int EmailChangeCount int `gorm:"default:0"` }
Click to show internal directories.
Click to hide internal directories.