diff options
| author | nytpu <alex@nytpu.com> | 2021-03-18 10:33:58 -0600 |
|---|---|---|
| committer | nytpu <alex@nytpu.com> | 2021-03-18 10:33:58 -0600 |
| commit | a3a427b9eed52b5e173191cb4d2c871db3d8148a (patch) | |
| tree | 58f5908cbfe7da5df8d76c5598d50a69660e194d /fetch/gopher.go | |
| parent | 0441fc93496ac64670f3357d8f13b17c6380baae (diff) | |
Refactor fetch functions to use new FullData.Insert{Feed,Page} funcs
Diffstat (limited to 'fetch/gopher.go')
| -rw-r--r-- | fetch/gopher.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fetch/gopher.go b/fetch/gopher.go index c0d515b..5db1208 100644 --- a/fetch/gopher.go +++ b/fetch/gopher.go @@ -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 } |
