From 62c2f70b9a551b23a39c4c5c152e1976fb11f870 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 17 Sep 2017 21:44:03 -0700 Subject: [PATCH] fix querycode --- kanjidic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kanjidic.go b/kanjidic.go index 4c8f79d..03df8f2 100644 --- a/kanjidic.go +++ b/kanjidic.go @@ -68,7 +68,7 @@ type KanjidicCharacter struct { // These codes contain information relating to the glyph, and can be used // for finding a required kanji. The type of code is defined by the // qc_type attribute. - QueryCode *KanjidicQueryCode `xml:"query_code>q_code"` + QueryCode []KanjidicQueryCode `xml:"query_code>q_code"` // The readings for the kanji in several languages, and the meanings, also // in several languages. The readings and meanings are grouped to enable