Do some minor cleanup
git-svn-id: file:///srv/svn/repo/mai/trunk@12 e410bdd4-646f-c54f-a7ce-fffcc4f439ae
This commit is contained in:
@@ -226,7 +226,7 @@ type icibaTranslateResponse struct {
|
||||
} `json:"content"`
|
||||
}
|
||||
|
||||
func (_ *ICIBA) Translate(text string, from Language, to Language) (TranslationResult, error) {
|
||||
func (_ *ICIBA) Translate(text string, from, to Language) (TranslationResult, error) {
|
||||
requestURL, err := url.Parse("https://ifanyi.iciba.com/index.php")
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user