diff options
Diffstat (limited to 'skate/cmd')
-rw-r--r-- | skate/cmd/skate-conv/main.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/skate/cmd/skate-conv/main.go b/skate/cmd/skate-conv/main.go index 7cbc9bb..334da81 100644 --- a/skate/cmd/skate-conv/main.go +++ b/skate/cmd/skate-conv/main.go @@ -93,7 +93,7 @@ func refToRelease(p []byte) ([]byte, error) { // https://archive.org/download/rg_sitemap_2021_02_23/rg_sitemap_2021_02_23.ndj.zst. func rgSitemapToRelease(p []byte) ([]byte, error) { var ( - s skate.Sitemap + s skate.SitemapEntry release skate.Release err error ) @@ -118,7 +118,7 @@ func rgSitemapToRelease(p []byte) ([]byte, error) { // openLibraryToRelease converts an Open Library work item to a release. func openLibraryToRelease(p []byte) ([]byte, error) { var ( - w skate.OpenLibraryWork + w skate.OpenLibrarySolrDoc release *skate.Release err error ) @@ -129,7 +129,7 @@ func openLibraryToRelease(p []byte) ([]byte, error) { return nil, err } } - if release, err = skate.OpenLibraryWorkToRelease(&w); err != nil { + if release, err = skate.OpenLibrarySolrDocToRelease(&w); err != nil { return nil, err } release.Extra.Skate.Status = "ol" |