fix querycode

This commit is contained in:
Alex Yatskov 2017-09-17 21:44:03 -07:00
parent 9f806b7757
commit 62c2f70b9a

View File

@ -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