mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2025-10-29 09:15:33 +00:00
Lots of stuff
This commit is contained in:
12
xmlparsing/item.go
Normal file
12
xmlparsing/item.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package xmlparsing
|
||||
|
||||
type ItemInfo struct {
|
||||
Source string
|
||||
Parse ParseMeta
|
||||
}
|
||||
|
||||
// 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