Documentation ¶
Index ¶
Constants ¶
View Source
const ( ColumnSize = "size" ColumnBio = "bio" ColumnHelpNeeded = "help_needed" )
View Source
const ( ColumnDateTime = "date_time" ColumnDescription = "description" ColumnLocation = "location" ColumnDateFee = "fee" )
View Source
const ( ColumnChatID = "chat_id" ColumnLogID = "log_id" ColumnClubID = "club_id" ColumnEventID = "event_id" ColumnTagID = "tag_id" ColumnStudentID = "student_id" )
View Source
const ( ColumnUsername = "username" ColumnEmail = "email" ColumnPassword = "password" ColumnID = "id" ColumnCreatedAt = "created_at" ColumnDeletedAt = "deleted_at" )
View Source
const ( Failure = "Student Not Found" Success = "Student Found" )
View Source
const AccessToken = "AccessToken"
View Source
const (
ColumnIsHelping = "is_helping"
)
View Source
const (
ColumnMessage = "message"
)
View Source
const RefreshToken = "RefreshToken"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Club ¶
type Club struct { Person Tags []Tag `gorm:"many2many:club_tag;association_foreignkey:ID;foreignkey:ID"` Hosts []Event `gorm:"many2many:club_event;association_foreignkey:ID;foreignkey:ID"` Chats []Chat `gorm:"many2many:club_chat;association_foreignkey:ID;foreignkey:ID"` Size int Bio string HelpNeeded bool }
type Event ¶
type Person ¶
type Student ¶
type Student struct { Person IsHelping bool Chats []Chat `gorm:"many2many:student_chat;association_foreignkey:ID;foreignkey:ID"` Tags []Tag `gorm:"many2many:student_tag;association_foreignkey:ID;foreignkey:ID"` Attends []Event `gorm:"many2many:student_event;association_foreignkey:ID;foreignkey:ID"` Swipes []Club `gorm:"many2many:student_swipe;association_foreignkey:ID;foreignkey:ID"` }
func NewStudent ¶
func NewStudent() *Student
Click to show internal directories.
Click to hide internal directories.