From 6341c675748f4807da984deffb597d21f693d558 Mon Sep 17 00:00:00 2001 From: nytpu Date: Wed, 17 Mar 2021 08:59:53 -0600 Subject: add (stubbed) updateGopherFeed function --- fetch/gopher.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'fetch/gopher.go') diff --git a/fetch/gopher.go b/fetch/gopher.go index 29afef1..d42d5eb 100644 --- a/fetch/gopher.go +++ b/fetch/gopher.go @@ -33,6 +33,12 @@ func newGopherFeed(remoteURL *url.URL, title string) (*core.Feed, error) { return nil, fmt.Errorf("Feeds served over gopher are currently unsupported.") } +// updateGopherFeed will check an existing core.Feed for updates +func updateGopherFeed(*core.Feed) error { + // TODO + return fmt.Errorf("Feeds served over gopher are currently unsupported.") +} + // newGopherPage will create a new core.Page given a gopher url func newGopherPage(remoteURL *url.URL, title string) (*core.Page, error) { var page core.Page -- cgit v1.2.3