Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dict ¶
type Dict struct {
LangType string
FilePath string
WordRecords map[string]WordRecord
SentenceRecords map[string]SentenceRecord
}
func (*Dict) DeleteRecordByQuery ¶
type Response ¶
type Response struct {
Result struct {
Code int `json:"code"`
Results struct {
SearchAll struct {
Code int `json:"code"`
Result struct {
Word struct {
SearchResult []SearchResult `json:"searchResult"`
} `json:"word"`
Grammar struct {
SearchResult []SearchResult `json:"searchResult"`
} `json:"grammar"`
Example struct {
SearchResult []SearchResult `json:"searchResult"`
} `json:"example"`
} `json:"result"`
} `json:"search-all"`
} `json:"results"`
} `json:"result"`
}
type SearchResult ¶
type SentenceRecord ¶
func (SentenceRecord) ColorPrint ¶
func (r SentenceRecord) ColorPrint()
type Translator ¶
type WordRecord ¶
func (WordRecord) ColorPrint ¶
func (r WordRecord) ColorPrint()
Click to show internal directories.
Click to hide internal directories.