Skip to content

xiaoxuan6/deeplx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deeplx

A Go library used for unlimited DeepL translation

Installation

Install it with the go get command:

go get github.com/xiaoxuan6/deeplx

Usage

Then, you can create a new DeepL translation client and use it for translation:

import (
	"fmt"
	"github.com/xiaoxuan6/deeplx"
)

func main() {
	result, err := deeplx.Translate("Hello", "EN", "ZH")
	if err != nil {
		fmt.Printf("Error: %v\n", err)
		return
	}
	fmt.Println(result)
}

About

A Go library used for unlimited DeepL translation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages