29 lines
428 B
Go
29 lines
428 B
Go
package models
|
|
|
|
type Yaml struct {
|
|
PoeticLines []PoeticLine `yaml:"poetic-lines"`
|
|
}
|
|
|
|
type PoeticLine struct {
|
|
Cola []Colon `yaml:"cola"`
|
|
Who string `yaml:"who"`
|
|
To string `yaml:"to"`
|
|
Of string `yaml:"of"`
|
|
}
|
|
|
|
type Colon struct {
|
|
Verse int `yaml:"verse"`
|
|
Text string `yaml:"text"`
|
|
}
|
|
|
|
type Strophe struct {
|
|
Who string
|
|
To string
|
|
Of string
|
|
Colas [][]Colon
|
|
}
|
|
|
|
type Psalm struct {
|
|
Strophes []Strophe
|
|
}
|