add updateGopherPage function

This commit is contained in:
nytpu
2021-03-17 08:57:00 -06:00
parent e68ff691b8
commit 795979e3bb
2 changed files with 23 additions and 14 deletions
+1 -3
View File
@@ -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)
}