Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Saiba como usar bibliotecas e frameworks de produtos do Google Cloud para
criar e iterar apps Go no Google Cloud.
Comece a criar e implantar no Google Cloud com uma
avaliação gratuita.
Comece a usar gratuitamente
Comece sua prova de conceito com US $300 em créditos gratuitos
-
Acessar o Gemini 2.0 Flash Thinking
-
Uso mensal gratuito de produtos conhecidos, incluindo APIs de IA e BigQuery
-
Sem cobranças automáticas, sem compromisso
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-04-24 UTC.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-04-24 UTC."],[[["\u003cp\u003eThis documentation provides resources for building and iterating Go applications on Google Cloud, including guides, references, and solutions for common issues.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can learn to set up a Go development environment, build their first app, and utilize client libraries for Cloud APIs through provided tutorials.\u003c/p\u003e\n"],["\u003cp\u003eTraining modules are available to learn how to deploy Go applications on serverless platforms like Cloud Run, Cloud Functions, and App Engine.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation offers guidance on managing user authentication, session handling, and background processing, specifically with App Engine, Firestore, Pub/Sub, and Identity-Aware Proxy (IAP).\u003c/p\u003e\n"],["\u003cp\u003eA repository of Go sample code is available on GitHub, demonstrating various Google Cloud functionalities and providing practical examples.\u003c/p\u003e\n"]]],[],null,["# Go documentation\n================\n\n[Read product documentation](/go/docs/setup) Learn how to use Google Cloud product libraries and frameworks to\nbuild and iterate Go apps on Google Cloud.\nStart building and deploying on Google Cloud with a [free trial](https://console.cloud.google.com/freetrial). \n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nDocumentation resources\n-----------------------\n\nFind quickstarts and guides, review key references, and get help with common issues. \nformat_list_numbered\n\n### Guides\n\n- Tutorial \n\n\n [Setting up a Go development environment](/go/docs/setup)\n\n- Tutorial \n\n\n [Getting started](/go/getting-started)\n\nfind_in_page\n\n### Reference\n\n- Technical \n\n\n [APIs and Go libraries](/go/docs/reference)\n\nRelated resources\n-----------------\n\nTraining and tutorials \nUse cases \nCode samples \nExplore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Training \nTraining and tutorials\n\n### Deploy Go apps on Google Cloud serverless platforms\n\n\nIn this lab you explore the basics of Go by deploying a simple Go app to Cloud Run, Cloud Functions, and App Engine.\n\n\n[Learn more](https://www.cloudskillsboost.google/focuses/10532?parent=catalog) \nTraining \nTraining and tutorials\n\n### Getting started with Go on Google Cloud\n\n\nGet started with Go (Golang) by reviewing Go code, and then creating and deploying simple Go apps on Google Cloud.\n\n\n[Learn more](https://www.cloudskillsboost.google/course_templates/730) \nUse case \nUse cases\n\n### Authenticating users\n\n\nApps 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.\n\nIAP App Engine\n\n\u003cbr /\u003e\n\n[Learn more](/go/getting-started/authenticate-users-with-iap) \nUse case \nUse cases\n\n### Handling sessions\n\n\nMany apps need session handling for authentication and user preferences. This tutorial shows how to handle sessions on App Engine.\n\nApp Engine Firestore\n\n\u003cbr /\u003e\n\n[Learn more](/go/getting-started/session-handling-with-firestore) \nUse case \nUse cases\n\n### Background processing\n\n\nMany 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.\n\nApp Engine Pub/Sub Firestore\n\n\u003cbr /\u003e\n\n[Learn more](/go/getting-started/background-processing) \nCode sample \nCode Samples\n\n### Getting started with Go samples\n\n\nThis repository holds sample code written in Go that demonstrates Google Cloud.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/golang-samples) \nCode sample \nCode Samples\n\n### Google Cloud Go samples\n\n\nSearch or browse all available Go code samples.\n\n\n[Get started](/docs/samples?l=go)\n\nRelated videos\n--------------"]]