Remove unnecessary updated time from NewFeed
This commit is contained in:
parent
215a002992
commit
8863e97f1f
2
feed.go
2
feed.go
@ -27,7 +27,7 @@ type Feed struct {
|
||||
}
|
||||
|
||||
// NewFeed creates a new feed.
|
||||
func NewFeed(title string, updated time.Time) (*Feed, error) {
|
||||
func NewFeed(title string) (*Feed, error) {
|
||||
text, err := NewText("text", title)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("error creating new feed: %v", err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user