[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
/ gDeepLX Public archive

A Go library used for unlimited DeepL translation

License

Notifications You must be signed in to change notification settings

OwO-Network/gDeepLX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gDeepLX

gDeepLX is a Go library used for DeepL translation.

Deprecated

Core repository OwO-Network/DeepLX already supports more features.

Installation

Install it with the go get command:

go get github.com/OwO-Network/gdeeplx

Usage

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

import (
	"fmt"
	"github.com/OwO-Network/gdeeplx"
)

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

Author

gDeepLX © Vincent Young, Released under the MIT License.

About

A Go library used for unlimited DeepL translation

Topics

Resources

License

Stars

Watchers

Forks

Languages