Documentation
¶
Index ¶
- Constants
- Variables
- type About
- type AboutHistory
- type AboutHistoryEvent
- type AboutLink
- type Event
- type EventWebsite
- type Facility
- type Group
- type GroupMember
- type Home
- type HomeItem
- type HomeLink
- type Intranet
- type IntranetCard
- type IntranetLink
- type Meeting
- type Resume
- type ResumeOptions
- type Sponsors
- type SponsorshipPackage
- type Token
- type User
Constants ¶
View Source
const ( GroupCommittees = "committees" GroupSIGs = "sigs" GroupTop4 = "Top4" GroupAdmin = "Admin" GroupCorporate = "Corporate" )
View Source
const ( UserMarkBasic = "BASIC" UserMarkPaid = "PAID" UserMarkRecruiter = "RECRUITER" )
Variables ¶
View Source
var (
GroupValidCommittees = []string{GroupTop4, GroupAdmin, GroupCorporate}
)
View Source
var ResumeValidOptions = ResumeOptions{ GraduationMonths: []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}, GraduationYears: []int{2020, 2021, 2022, 2023, 2024, 2025}, Degrees: []string{"Bachelors", "Masters", "PhD"}, Seekings: []string{"Internship", "Co Op", "Full Time"}, Majors: []string{"Computer Science", "Computer Engineering", "Electrical Enginering", "Mathematics", "Other Engineering", "Other Sciences", "Other"}, }
View Source
var (
UserValidMarks = []string{UserMarkBasic, UserMarkPaid, UserMarkRecruiter}
)
Functions ¶
This section is empty.
Types ¶
type About ¶
type About struct { Content []string `yaml:"content"` Facilities []Facility `yaml:"facilites"` History AboutHistory `yaml:"history"` Links []AboutLink `yaml:"links"` }
type AboutHistory ¶
type AboutHistory struct {
Events []AboutHistoryEvent `yaml:"events"`
}
type AboutHistoryEvent ¶
type Event ¶
type Event struct { Name string `yaml:"name"` Description string `yaml:"description"` LogoUri string `yaml:"logoUri"` Website string `yaml:"website"` WebsiteArchive []EventWebsite `yaml:"websiteArchive"` }
type EventWebsite ¶
type GroupMember ¶
type Intranet ¶
type Intranet struct { Cards []IntranetCard `yaml:"cards"` Links []IntranetLink `yaml:"links"` }
type IntranetCard ¶
type IntranetLink ¶
type Resume ¶
type Resume struct { Username string `db:"username" json:"username"` FirstName string `db:"first_name" json:"first_name"` LastName string `db:"last_name" json:"last_name"` Email string `db:"email" json:"email"` GraduationMonth int `db:"graduation_month" json:"graduation_month"` GraduationYear int `db:"graduation_year" json:"graduation_year"` Major string `db:"major" json:"major"` Degree string `db:"degree" json:"degree"` Seeking string `db:"seeking" json:"seeking"` BlobKey string `db:"blob_key" json:"blob_key"` Approved bool `db:"approved" json:"approved"` UpdatedAt int64 `db:"updated_at" json:"updated_at"` }
type ResumeOptions ¶
type Sponsors ¶
type Sponsors struct { Pitch string `yaml:"pitch"` Contact string `yaml:"contact"` Email string `yaml:"email"` GetInvolved string `yaml:"getInvolved"` Packages []SponsorshipPackage `yaml:"packages"` }
type SponsorshipPackage ¶
Click to show internal directories.
Click to hide internal directories.