Refactor fetch functions to use new FullData.Insert{Feed,Page} funcs

This commit is contained in:
nytpu
2021-03-18 10:33:58 -06:00
parent 0441fc9349
commit a3a427b9ee
4 changed files with 10 additions and 39 deletions
+1 -1
View File
@@ -64,6 +64,6 @@ func gopherPage(data *core.FullData, remote *url.URL, title string) error {
page.Hash = newHash
page.Updated = time.Now()
InsertPage(data, &page, remote)
data.InsertPage(&page, remote)
return nil
}