Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
type Definition ¶
type GoogleTranslate ¶
type GoogleTranslate struct {
// contains filtered or unexported fields
}
func NewGoogleTranslate ¶
func NewGoogleTranslate() *GoogleTranslate
type Response ¶
type Response struct {
Sentences []*Translation `json:"sentences"`
Dict []*Annotation `json:"dict"`
Src string `json:"src"`
Confidence float64 `json:"confidence"`
Spell *Spell `json:"spell"`
LdResult *LdResult `json:"ld_result"`
Definitions []*Definition `json:"definitions"`
}
type Reverse ¶
type Reverse struct {
Word string `json:"word"`
ReverseTranslation []string `json:"reverse_translation"`
Score float64 `json:"score"`
}
Reverse 反查
Click to show internal directories.
Click to hide internal directories.