Documentation ¶
Index ¶
Constants ¶
View Source
const ( Endpoint = "http://translate.google.com/" Uri = "m" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Translate ¶
func (c *Client) Translate(text string) *Translator
type Translator ¶
type Translator struct {
// contains filtered or unexported fields
}
func (*Translator) Do ¶
func (t *Translator) Do() *Response
func (*Translator) From ¶
func (t *Translator) From(lang string) *Translator
func (*Translator) Get ¶
func (t *Translator) Get() *Translator
func (*Translator) To ¶
func (t *Translator) To(lang string) *Translator
Click to show internal directories.
Click to hide internal directories.