-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.go
39 lines (36 loc) · 1.22 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package main
// submissions page json
type submissions struct {
Count int `json:"count"`
Next string `json:"next"`
Previous interface{} `json:"previous"`
Results []submission `json:"results"`
}
// submission json
type submission struct {
Abstract string `json:"abstract"`
Answers []interface{} `json:"answers"`
Code string `json:"code"`
ContentLocale string `json:"content_locale"`
Description string `json:"description"`
DoNotRecord bool `json:"do_not_record"`
Duration string `json:"duration"`
//Image interface{} `json:"image"`
//IsFeatured bool `json:"is_featured"`
//Slot interface{} `json:"slot"`
Speakers []struct {
// Avatar interface{} `json:"avatar"`
Biography string `json:"biography"`
Code string `json:"code"`
Name string `json:"name"`
} `json:"speakers"`
State string `json:"state"`
SubmissionType submissionType `json:"submission_type"`
Title string `json:"title"`
//Track interface{} `json:"track"`
}
// submission type names json
type submissionType struct {
De string `json:"de"`
En string `json:"en"`
}