Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GoogleHost = "google.com"
Functions ¶
func Translate ¶
func Translate(text string, from language.Tag, to language.Tag, googleHost ...string) (string, error)
Translate translate a text using native tags offer by go language
func TranslateWithParams ¶
func TranslateWithParams(text string, params TranslationParams) (string, error)
TranslateWithParams translate a text with simple params as string
Types ¶
Click to show internal directories.
Click to hide internal directories.