Make NewCommonAttributes public
This commit is contained in:
2
feed.go
2
feed.go
@@ -28,7 +28,7 @@ type Feed struct {
|
||||
// NewFeed creates a new Feed. It returns a *Feed.
|
||||
func NewFeed(title string) *Feed {
|
||||
return &Feed{
|
||||
CommonAttributes: newCommonAttributes(),
|
||||
CommonAttributes: NewCommonAttributes(),
|
||||
ID: NewID(NewURN()),
|
||||
Title: NewText("text", title),
|
||||
Updated: NewDate(time.Now()),
|
||||
|
Reference in New Issue
Block a user