Small bug fix
This commit is contained in:
parent
b496ac3691
commit
657624cbd6
2
entry.go
2
entry.go
@ -63,7 +63,7 @@ func NewEntry(title string) (*Entry, error) {
|
||||
}
|
||||
|
||||
return &Entry{
|
||||
ID: NewID(),
|
||||
ID: NewID(NewURN()),
|
||||
Title: text,
|
||||
Updated: NewDate(time.Now()),
|
||||
}, nil
|
||||
|
2
feed.go
2
feed.go
@ -34,7 +34,7 @@ func NewFeed(title string) (*Feed, error) {
|
||||
}
|
||||
|
||||
return &Feed{
|
||||
ID: NewID(),
|
||||
ID: NewID(NewURN()),
|
||||
Title: text,
|
||||
Updated: NewDate(time.Now()),
|
||||
}, nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user