Versions in this module Expand all Collapse all v0 v0.6.0 Dec 10, 2016 v0.5.0 Nov 30, 2016 Changes in this version + const Scope + type Client struct + func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) + func (c *Client) Close() error + func (c *Client) DetectLanguage(ctx context.Context, inputs []string) ([][]Detection, error) + func (c *Client) SupportedLanguages(ctx context.Context, target language.Tag) ([]Language, error) + func (c *Client) Translate(ctx context.Context, inputs []string, target language.Tag, opts *Options) ([]Translation, error) + type Detection struct + Confidence float64 + IsReliable bool + Language language.Tag + type Format string + const HTML + const Text + type Language struct + Name string + Tag language.Tag + type Options struct + Format Format + Model string + Source language.Tag + type Translation struct + Model string + Source language.Tag + Text string