Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is a client for the translate API.
type Translator ¶
type Translator interface { Translate(ctx context.Context, source, target string, contents []string) ([]translate.Translation, error) GetSupportedLanguages(ctx context.Context, target language.Tag) ([]translate.Language, error) Close() }
Translator is a translator client interface.
Click to show internal directories.
Click to hide internal directories.