Go client library

This page provides reference documentation and related resources for the Cloud Translation Go client library.

Resource Description
Library reference Cloud Translation Go library reference
Language guide General guide for using Go with GCP
GitHub repository Source code and additional documentation for this library
Quickstart Introduction to using this library
Stack Overflow Questions tagged with Cloud Translation and Go

Installation

To install the client library:

go get cloud.google.com/go/translate/apiv3

Using the client library

To use the Go client library for Cloud Translation - Advanced, you must import the Cloud Translation API client library as follows:

import "cloud.google.com/go/translate/apiv3"

See how to translate text for additional usage details.