aboutsummaryrefslogtreecommitdiffstats
path: root/skate
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-04-30 04:16:02 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-04-30 04:16:02 +0200
commite717cee6c561891a5de2836821d793086806db9b (patch)
tree82085dc0b41642110b6ca31f611645c20ab5fdda /skate
parent3d61eac8c023a7f9509e0371baef40c00b0132f2 (diff)
downloadrefcat-e717cee6c561891a5de2836821d793086806db9b.tar.gz
refcat-e717cee6c561891a5de2836821d793086806db9b.zip
update docs
Diffstat (limited to 'skate')
-rw-r--r--skate/map.go3
-rw-r--r--skate/zipkey/zipkey.go2
2 files changed, 3 insertions, 2 deletions
diff --git a/skate/map.go b/skate/map.go
index 1d6bc0b..90d8c05 100644
--- a/skate/map.go
+++ b/skate/map.go
@@ -25,10 +25,11 @@ type TitleDoc struct {
}
// PartialDoc for docs, that do not have DOI or title. E.g. we found 49701699
-// (NCVY), 36401044 (NCVYU), 29668363 (NCUY), and so on.
+// (NCVY), 36401044 (NCVYU), 29668363 (NCUY), and so on. Some examples: XXX
type PartialDoc struct {
ContainerName string `json:"container_name"`
Contribs []struct {
+ // XXX: Need a way to sensibly compare sets of author names.
RawName string `json:"raw_name"`
} `json:"contribs"`
Volume string `json:"volume"`
diff --git a/skate/zipkey/zipkey.go b/skate/zipkey/zipkey.go
index a9f5c04..9394734 100644
--- a/skate/zipkey/zipkey.go
+++ b/skate/zipkey/zipkey.go
@@ -14,7 +14,7 @@ type Group struct {
}
type (
- keyFunc func(string) (string, error)
+ keyFunc func(string) (string, error) // Given a line, extract the key.
groupFunc func(*Group) error
)