aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/schedule/model.go
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2025-08-23 22:29:28 +0100
committerLeonardo Bishop <me@leonardobishop.com>2025-08-23 22:29:28 +0100
commitecc6a55aba7bb35fc778e7a53848396b88214151 (patch)
tree1b37a2dc5f4594155114da1ae0c4529d20a4c548 /pkg/schedule/model.go
parent8f7dec8ba6b2f9bde01afd0a110596ebbd43e0ed (diff)
Add multiple conferences feature
Diffstat (limited to 'pkg/schedule/model.go')
-rw-r--r--pkg/schedule/model.go72
1 files changed, 0 insertions, 72 deletions
diff --git a/pkg/schedule/model.go b/pkg/schedule/model.go
deleted file mode 100644
index fcf39a5..0000000
--- a/pkg/schedule/model.go
+++ /dev/null
@@ -1,72 +0,0 @@
-package schedule
-
-import "time"
-
-type Schedule struct {
- Conference Conference `json:"conference"`
- Tracks []Track `json:"tracks"`
- Days []Day `json:"days"`
-}
-
-type Conference struct {
- Title string `json:"title"`
- Venue string `json:"venue"`
- City string `json:"city"`
- Start string `json:"start"`
- End string `json:"end"`
- Days int `json:"days"`
- DayChange string `json:"dayChange"`
- TimeslotDuration string `json:"timeslotDuration"`
- BaseURL string `json:"baseUrl"`
- TimeZoneName string `json:"timeZoneName"`
-}
-
-type Track struct {
- Name string `json:"name"`
-}
-
-type Day struct {
- Date string `json:"date"`
- Start time.Time `json:"start"`
- End time.Time `json:"end"`
- Rooms []Room `json:"rooms"`
-}
-
-type Room struct {
- Name string `json:"name"`
- Events []Event `json:"events"`
-}
-
-type Event struct {
- ID int32 `json:"id"`
- GUID string `json:"guid"`
- Date string `json:"date"`
- Start time.Time `json:"start"`
- End time.Time `json:"end"`
- Duration int32 `json:"duration"`
- Room string `json:"room"`
- URL string `json:"url"`
- Track string `json:"track"`
- Type string `json:"type"`
- Title string `json:"title"`
- Abstract string `json:"abstract"`
- Persons []Person `json:"persons"`
- Attachments []Attachment `json:"attachments"`
- Links []Link `json:"links"`
-}
-
-type Person struct {
- ID int `json:"id"`
- Name string `json:"name"`
-}
-
-type Attachment struct {
- Type string `json:"string"`
- Href string `json:"href"`
- Name string `json:"name"`
-}
-
-type Link struct {
- Href string `json:"href"`
- Name string `json:"name"`
-}