aboutsummaryrefslogtreecommitdiffstats
path: root/skate
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-03-30 02:20:00 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-03-30 02:20:00 +0200
commit1fa58a706f655c98b468fb006462d2a54d1d286d (patch)
treefb2840f218224d8c6c6d532e25add7c840a763ad /skate
parentd01ace6b26c0becc3d1eed70a903de0aaa89ac7a (diff)
downloadrefcat-1fa58a706f655c98b468fb006462d2a54d1d286d.tar.gz
refcat-1fa58a706f655c98b468fb006462d2a54d1d286d.zip
fix json tag
Diffstat (limited to 'skate')
-rw-r--r--skate/schema.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/skate/schema.go b/skate/schema.go
index 6a0d1c2..4a33be3 100644
--- a/skate/schema.go
+++ b/skate/schema.go
@@ -265,14 +265,14 @@ type MinimalCitations struct {
// IDList with commonly used identifier from wikipedia citations.
type IDList struct {
- ISBN string `json:isbn,omitempty"`
- DOI string `json:doi,omitempty"`
- PMID string `json:pmid,omitempty"`
- ISSN string `json:issn,omitempty"`
- JSTOR string `json:jstor,omitempty"`
- PMC string `json:pmc,omitempty"`
- ARXIV string `json:arxiv,omitempty"`
- OL string `json:ol,omitempty"`
+ ISBN string `json:"isbn,omitempty"`
+ DOI string `json:"doi,omitempty"`
+ PMID string `json:"pmid,omitempty"`
+ ISSN string `json:"issn,omitempty"`
+ JSTOR string `json:"jstor,omitempty"`
+ PMC string `json:"pmc,omitempty"`
+ ARXIV string `json:"arxiv,omitempty"`
+ OL string `json:"ol,omitempty"`
}
func (c *MinimalCitations) ParseIDList() (result IDList) {