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

View File

@@ -1,12 +1,14 @@
package atom
import (
"encoding/xml"
"errors"
"fmt"
"strings"
)
type Link struct {
XMLName xml.Name `xml:"link"`
*CommonAttributes
Title string `xml:"title,attr,omitempty"`
Href IRI `xml:"href,attr"`