refactoring project structure
This commit is contained in:
12
internal/models/yaml.go
Normal file
12
internal/models/yaml.go
Normal file
@@ -0,0 +1,12 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user