Make NewCommonAttributes public
This commit is contained in:
2
entry.go
2
entry.go
@@ -59,7 +59,7 @@ func (e *Entry) checkAuthors(authorInFeed bool) error {
|
||||
// NewEntry creates a new Entry. It returns a *Entry.
|
||||
func NewEntry(title string) *Entry {
|
||||
return &Entry{
|
||||
CommonAttributes: newCommonAttributes(),
|
||||
CommonAttributes: NewCommonAttributes(),
|
||||
ID: NewID(NewURN()),
|
||||
Title: NewText("text", title),
|
||||
Updated: NewDate(time.Now()),
|
||||
|
Reference in New Issue
Block a user