Lots of stuff

This commit is contained in:
Simon Martens
2025-06-24 18:20:06 +02:00
parent 3127446dab
commit 9563145aeb
29 changed files with 1694 additions and 1386 deletions

View File

@@ -1,6 +1,6 @@
package xmlmodels
import xmlparsing "github.com/Theodor-Springmann-Stiftung/lenz-web/xml"
import "github.com/Theodor-Springmann-Stiftung/lenz-web/xmlparsing"
type RefElement struct {
Reference int `xml:"ref,attr"`

View File

@@ -12,7 +12,7 @@ import (
"sync"
"time"
xmlparsing "github.com/Theodor-Springmann-Stiftung/lenz-web/xml"
"github.com/Theodor-Springmann-Stiftung/lenz-web/xmlparsing"
)
const (

View File

@@ -6,7 +6,7 @@ import (
"iter"
"slices"
xmlparsing "github.com/Theodor-Springmann-Stiftung/lenz-web/xml"
"github.com/Theodor-Springmann-Stiftung/lenz-web/xmlparsing"
)
type Meta struct {
@@ -82,7 +82,7 @@ func (m Meta) SendRecieved() iter.Seq[SendRecievedPair] {
type Action struct {
Dates []Date `xml:"date"`
Places []RefElement `xml:"place"`
Places []RefElement `xml:"location"`
Persons []RefElement `xml:"person"`
}

View File

@@ -3,7 +3,7 @@ package xmlmodels
import (
"sync"
xmlparsing "github.com/Theodor-Springmann-Stiftung/lenz-web/xml"
"github.com/Theodor-Springmann-Stiftung/lenz-web/xmlparsing"
)
var lib *Library