Skip to content

Commit

Permalink
fix the desc of baidu translator
Browse files Browse the repository at this point in the history
  • Loading branch information
xwjdsh committed Mar 25, 2019
1 parent 860167c commit 6f52f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baidu.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type baiduTranslator struct{}
var baidu translator = new(baiduTranslator)

func (*baiduTranslator) desc() (string, string) {
return "baiduTranslator", "https://fanyi.baiduTranslator.com/"
return "baidu", "https://fanyi.baidu.com/"
}

func BaiduTranslate(ctx context.Context, req Request) (resp *Response) {
Expand Down

0 comments on commit 6f52f8e

Please sign in to comment.