change to feed.Foo methods instead of passing in feed to package func
This commit is contained in:
10
src/feeds/http.go
Normal file
10
src/feeds/http.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package feeds
|
||||
|
||||
import (
|
||||
"context"
|
||||
"io"
|
||||
)
|
||||
|
||||
func (feed Feed) Fetch(ctx context.Context) (Items, error) {
|
||||
return nil, io.EOF
|
||||
}
|
||||
Reference in New Issue
Block a user