Make NewCommonAttributes public

This commit is contained in:
2024-10-20 15:59:46 +02:00
parent 8fc6a10b0d
commit d8d0526a05
18 changed files with 18 additions and 18 deletions

View File

@@ -25,7 +25,7 @@ type Source struct {
// NewSource creates a new Source. It returns a *Source.
func NewSource() *Source {
return &Source{CommonAttributes: newCommonAttributes()}
return &Source{CommonAttributes: NewCommonAttributes()}
}
// AddAuthor adds the Person as an author to the Source. It returns its index as