Make NewCommonAttributes public
This commit is contained in:
@@ -16,7 +16,7 @@ type Category struct {
|
||||
// NewCategory creates a new Category. It returns a *Category.
|
||||
func NewCategory(term string) *Category {
|
||||
return &Category{
|
||||
CommonAttributes: newCommonAttributes(),
|
||||
CommonAttributes: NewCommonAttributes(),
|
||||
Term: term,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user