mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2025-10-29 09:15:33 +00:00
Init
This commit is contained in:
14
xmlmodels/traditions.go
Normal file
14
xmlmodels/traditions.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package xmlmodels
|
||||
|
||||
import "encoding/xml"
|
||||
|
||||
type Tradition struct {
|
||||
XMLName xml.Name `xml:"letterTradition"`
|
||||
Letter int `xml:"letter,attr"`
|
||||
Apps []App `xml:"app"`
|
||||
}
|
||||
|
||||
type App struct {
|
||||
Reference int `xml:"ref,attr"`
|
||||
Content string `xml:",innerxml"`
|
||||
}
|
||||
Reference in New Issue
Block a user