package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: May 24, 2026
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Contest struct {
ID string `json:"id"`
Name string `json:"name"`
URL string `json:"url"`
StartTime time.Time `json:"start_time"`
EndTime time.Time `json:"end_time"`
Duration int `json:"duration"`
Platform string `json:"platform"`
UpdatedAt time.Time `json:"updated_at"`
}
type SyncedEvent struct {
UserID int `json:"user_id"`
ContestID string `json:"contest_id"`
GoogleEventID string `json:"google_event_id"`
SyncedAt time.Time `json:"synced_at"`
}
type User struct {
ID int `json:"id"`
GoogleID string `json:"google_id"`
Email string `json:"email"`
RefreshToken string `json:"-"`
CalendarID string `json:"calendar_id"`
UseDedicated bool `json:"use_dedicated"`
Platforms []string `json:"platforms"`
CreatedAt time.Time `json:"created_at"`
}
type UserPlatformPreference struct {
UserID int `json:"user_id"`
Platform string `json:"platform"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.