# Go documentation

[Read product documentation](https://docs.cloud.google.com/go/docs/setup.md.txt) Learn how to use Google Cloud product libraries and frameworks to
build and iterate Go apps on Google Cloud.

## Documentation resources

Find quickstarts and guides, review key references, and get help with common issues.

### Guides

- Tutorial

  [Setting up a Go development environment](https://docs.cloud.google.com/go/docs/setup.md.txt)

- Tutorial

  [Getting started](https://docs.cloud.google.com/go/getting-started.md.txt)

### Reference

- Technical

  [APIs and Go libraries](https://docs.cloud.google.com/go/docs/reference.md.txt)

## Related resources

Training and tutorials Use cases Code samples Explore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Training Training and tutorials

### [Deploy Go apps on Google Cloud serverless platforms](https://www.cloudskillsboost.google/focuses/10532?parent=catalog)


In this lab you explore the basics of Go by deploying a simple Go app to Cloud Run, Cloud Functions, and App Engine.


Training Training and tutorials

### [Getting started with Go on Google Cloud](https://www.cloudskillsboost.google/course_templates/730)


Get started with Go (Golang) by reviewing Go code, and then creating and deploying simple Go apps on Google Cloud.


Use case Use cases

### [Authenticating users](https://docs.cloud.google.com/go/getting-started/authenticate-users-with-iap.md.txt)


Apps running on Google Cloud managed platforms such as App Engine can avoid managing user authentication and session management by using Identity-Aware Proxy (IAP) to control access to them.

IAP App Engine

<br />

Use case Use cases

### [Handling sessions](https://docs.cloud.google.com/go/getting-started/session-handling-with-firestore.md.txt)


Many apps need session handling for authentication and user preferences. This tutorial shows how to handle sessions on App Engine.

App Engine Firestore

<br />

Use case Use cases

### [Background processing](https://docs.cloud.google.com/go/getting-started/background-processing.md.txt)


Many apps need to do background processing outside of the context of a web request. This tutorial creates a web app that lets users input text to translate, and then displays a list of previous translations.

App Engine Pub/Sub Firestore

<br />

Code sample Code Samples

### [Getting started with Go samples](https://github.com/GoogleCloudPlatform/golang-samples)


This repository holds sample code written in Go that demonstrates Google Cloud.


Code sample Code Samples

### [Google Cloud Go samples](https://docs.cloud.google.com/docs/samples.md.txt?l=go)


Search or browse all available Go code samples.


## Related videos