Small bug fix

This commit is contained in:
2024-10-17 18:59:24 +02:00
parent d11b229691
commit 478d679985
2 changed files with 3 additions and 3 deletions

View File

@@ -16,8 +16,8 @@ type Link struct {
Length uint `xml:"length,attr,omitempty"`
}
// NewLink creates a new Link. It returns a *Link and an error.
func NewLink(href, content string) *Link {
// NewLink creates a new Link. It returns a *Link.
func NewLink(href string) *Link {
return &Link{Href: IRI(href)}
}