Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 262 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 262 Bytes

Usage

import gt "github.com/kyai/google-translate-tk"

Get tkk, this value usually does not change, so you can cache it.

tkk, _ := gt.GetTKK()

Get tk, give the text to be translated and tkk.

tk := gt.GetTK("hello", tkk)