diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-05-28 23:17:25 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-05-28 23:17:25 +0200 |
commit | 9dfaa7600e6946d58fe83d27e19fa1ef15bdb282 (patch) | |
tree | a0d65123f869189e751ce9b3cf2c9e134aaeb902 /skate/cmd/skate-conv | |
parent | f45b9b66f51f623ae3b7d0772ac233abf97ea5e1 (diff) | |
download | refcat-9dfaa7600e6946d58fe83d27e19fa1ef15bdb282.tar.gz refcat-9dfaa7600e6946d58fe83d27e19fa1ef15bdb282.zip |
schema: update docs
Diffstat (limited to 'skate/cmd/skate-conv')
-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" |