adding fetching and saving an entire book

This commit is contained in:
github_username_here
2026-03-10 17:48:17 +01:00
parent 7355158ff9
commit 874ba49512
157 changed files with 31768 additions and 32 deletions

View File

@@ -1,12 +1,17 @@
package models
type yaml struct {
Strophes []struct {
Lines []struct {
Verse int `yaml:"verse"`
Tet string `yaml:"text"`
Who string `yaml:"who"`
To string `yaml:"to"`
} `yaml:"lines"`
} `yaml:"strophes"`
type Yaml struct {
Strophes []Strophe `yaml:"strophes"`
}
type Strophe struct {
Lines []Line `yaml:"lines"`
}
type Line struct {
Verse int `yaml:"verse"`
Text string `yaml:"text"`
Who string `yaml:"who"`
To string `yaml:"to"`
Of string `yaml:"Of"`
}