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

@@ -13,7 +13,7 @@ type Category struct {
Label string `xml:"label,attr,omitempty"`
}
// NewCategory creates a new Category. It returns a *Category and an error.
// NewCategory creates a new Category. It returns a *Category.
func NewCategory(term string) *Category {
return &Category{Term: term}
}