add updateGopherPage function
This commit is contained in:
+1
-3
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user