mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 09:05:30 +00:00
Better structure of files; introduced XML models
This commit is contained in:
@@ -5,6 +5,8 @@ type ItemInfo struct {
|
||||
Parse *ParseMeta
|
||||
}
|
||||
|
||||
type KeyedItem struct {
|
||||
keys []string
|
||||
// INFO: These are just root elements that hold the data of the XML files.
|
||||
// They get discarded after a parse.
|
||||
type XMLRootElement[T any] interface {
|
||||
Children() []T
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user