reference deepLX ,Reverse-engineering the DeepL Windows client has improved several details.
deepL windows Client download Url: https://appdownload.deepl.com/windows/0install/deepl.xml
Example:
import "github.com/lib-x/deepl"
translateResp, err := Translate("", "zh", "I love Go programming language")
if err != nil {
t.Fatal(err)
}
log.Println(translateResp.Result.Texts[0].Text)
also you an set proxy to use the deepl lib.see in the test