Make comments more useful

This commit is contained in:
2025-01-24 23:06:32 +01:00
parent be79a13d48
commit 9ab48787d4
23 changed files with 115 additions and 93 deletions

2
id.go
View File

@@ -12,7 +12,7 @@ type ID struct {
URI string `xml:",chardata"` // IRI
}
// NewID creates a new ID. It returns a *ID.
// NewID creates a new ID. It takes in a string uri and returns a *ID.
func NewID(uri string) *ID {
return &ID{
CommonAttributes: NewCommonAttributes(),