Files
psalms/internal/models/yaml.go
2026-03-24 18:39:59 +01:00

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
}