summaryrefslogtreecommitdiff
path: root/fetch/fetch.go
diff options
context:
space:
mode:
authornytpu <alex@nytpu.com>2021-03-17 08:57:00 -0600
committernytpu <alex@nytpu.com>2021-03-17 09:04:05 -0600
commit795979e3bbeddffc4989e6e75b7614f4944f432d (patch)
tree556914ad05dabb076830dae1dafb7970ab67510a /fetch/fetch.go
parente68ff691b8c7157c6e20833053aed7671ad6cbca (diff)
add updateGopherPage function
Diffstat (limited to 'fetch/fetch.go')
-rw-r--r--fetch/fetch.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/fetch/fetch.go b/fetch/fetch.go
index 4dfb6c2..4bed64c 100644
--- a/fetch/fetch.go
+++ b/fetch/fetch.go
@@ -70,9 +70,7 @@ func UpdatePage(p *core.Page) error {
case "http", "https":
return updateHTTPPage(p)
case "gopher", "gophers":
- // return updateGopherPage(p)
- // TODO
- fallthrough
+ return updateGopherPage(p)
default:
return fmt.Errorf("Unsupported protocol '%s'", p.Link.Scheme)
}