Properly use xml names

This commit is contained in:
2024-10-17 20:10:18 +02:00
parent 26e0c99150
commit 9c38048bd2
15 changed files with 51 additions and 23 deletions

2
id.go
View File

@@ -1,11 +1,13 @@
package atom
import (
"encoding/xml"
"errors"
"fmt"
)
type ID struct {
XMLName xml.Name `xml:"id"`
*CommonAttributes
URI IRI `xml:",chardata"`
}