blob: cb2a8ff174d350e0ba5d9a34fb09efcc145a7199 (
plain) (
blame)
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
|
package calfeed
type ReadingView struct {
Part string `json:"part"`
Citation string `json:"citation"`
}
type CelView struct {
Slug string `json:"slug"`
Name string `json:"name"`
Rank string `json:"rank"`
Class int `json:"class"`
}
type DayView struct {
Date string `json:"date"` // YYYY-MM-DD
Season string `json:"season"`
Week int `json:"week"`
Weekday string `json:"weekday"`
Colour string `json:"colour"`
Observed CelView `json:"observed"`
Others []CelView `json:"others"`
Cycles Cycles `json:"cycles"`
Readings []ReadingView `json:"readings"`
}
type Cycles struct {
Sunday string `json:"sunday"`
Weekday string `json:"weekday"`
}
|