Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Jisho ¶
func (*Jisho) SearchKeyword ¶
func (j *Jisho) SearchKeyword(kw string) (*SearchResp, error)
type Kanji ¶
type Kanji struct { Rune rune TaughtIn string JLPT JLPTLevel NewspaperFreqRank int StrokeCount int Meaning string Kunyomi []string KunyomiExamples []*ReadingExample Onyomi []string OnyomiExamples []*ReadingExample Radical *Radical Parts []string StrokeOrderDiagram string JishoUri string // contains filtered or unexported fields }
type KanjiNotFound ¶
type KanjiNotFound struct {
Arg string
}
func (*KanjiNotFound) Error ¶
func (e *KanjiNotFound) Error() string
type ReadingExample ¶
type SearchResp ¶
type SearchResp struct { Meta struct { Status int `json:"status"` } `json:"meta"` Data []struct { Slug string `json:"slug"` IsCommon bool `json:"is_common"` Tags []string `json:"tags"` Jlpt []string `json:"jlpt"` Japanese []struct { Word string `json:"word"` Reading string `json:"reading"` } `json:"japanese"` Senses []struct { EnglishDefinitions []string `json:"english_definitions"` PartsOfSpeech []string `json:"parts_of_speech"` Links []string `json:"links"` Tags []string `json:"tags"` Restrictions []string `json:"restrictions"` SeeAlso []string `json:"see_also"` Antonyms []string `json:"antonyms"` Source []string `json:"source"` Info []string `json:"info"` } `json:"senses"` Attribution struct { Jmdict bool `json:"jmdict"` Jmnedict bool `json:"jmnedict"` Dbpedia bool `json:"dbpedia"` } `json:"attribution"` } `json:"data"` }
Click to show internal directories.
Click to hide internal directories.