Go 1.11 已达到支持终止期限,将于 2026 年 1 月 31 日
弃用。弃用后,您将无法部署 Go 1.11 应用,即使您的组织之前曾使用组织政策重新启用旧版运行时的部署也是如此。现有的 Go 1.11 应用在
弃用日期之后将继续运行并接收流量。我们建议您
迁移到最新支持的 Go 版本。
App Engine 标准环境可让您轻松构建和部署应用,保证应用在繁重负载和大量数据下能可靠运行。您的应用在其自有的安全可靠的环境中运行,该环境与服务器的硬件、操作系统或物理位置无关。
了解详情
获享 $300 免费赠金开始概念验证
-
体验 Gemini 2.0 Flash Thinking
-
免费使用热门产品(包括 AI API 和 BigQuery)的每月用量
-
不会自动收费,无需承诺
继续探索 20 多种提供“始终免费”用量的产品
使用适用于常见应用场景(包括 AI API、虚拟机、数据仓库等)的 20 多种免费产品。
培训
培训和教程
Google Cloud Go 入门教程
引导您将应用部署到 App Engine 标准环境。
培训
培训和教程
Google Cloud 使用 Go 教程对用户进行身份验证
了解如何控制对 App Engine 标准环境中应用的访问权限。
培训
培训和教程
App Engine:Qwik Start - Go
了解 Google Cloud 的价值,以及如何将云端解决方案整合到您的业务策略中。
使用场景
使用场景
控制对网站和应用的访问权限
了解如何控制用户对企业 Web 资源的访问权限。
企业
BeyondCorp
身份验证
App Engine
代码示例
代码示例
App Engine 示例 - Hello World
此示例演示了如何使用 Go 在 App Engine 标准环境中构建 Hello World 应用。
代码示例
代码示例
App Engine 示例 - Cloud SQL
此示例演示了如何将 App Engine 标准环境中的 Google Cloud SQL 与 Go 搭配使用。
代码示例
代码示例
App Engine 示例 - Tasks
此示例演示了如何将 App Engine 标准环境中的 Google Cloud Tasks 与 Go 搭配使用。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-20。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-20。"],[[["\u003cp\u003eApp Engine standard environment enables the creation and deployment of applications that are robust under heavy loads and with large data sets.\u003c/p\u003e\n"],["\u003cp\u003eApplications on App Engine run within a secure, independent environment, regardless of the server's hardware, operating system, or physical location.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides a variety of guides, including quickstarts for building Go 1.11 apps, setting up access control, and handling requests.\u003c/p\u003e\n"],["\u003cp\u003eReference materials, such as app.yaml and dispatch.yaml configuration files, are available for detailed configuration.\u003c/p\u003e\n"],["\u003cp\u003eAdditional resources cover pricing, quotas, cost management, troubleshooting, and Go 1.11 release notes.\u003c/p\u003e\n"]]],[],null,["# App Engine documentation\n========================\n\n[Read product documentation](/appengine/docs/legacy/standard/go111/runtime)\nApp Engine standard environment makes it easy to build and deploy an\napplication that runs reliably under heavy load and with large amounts of data.\nYour application runs within its own secure, reliable environment that is\nindependent of the hardware, operating system, or physical location of the\nserver.\n[Learn more](/appengine/docs/legacy/standard/go111/an-overview-of-app-engine)\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-\n\n [Quickstart: Create a Go 1.11 app in the App Engine standard environment](/appengine/docs/legacy/standard/go111/create-app)\n\n-\n\n [Setting Up Access Control](/appengine/docs/legacy/standard/go111/access-control)\n\n-\n\n [How Requests are Handled](/appengine/docs/legacy/standard/go111/how-requests-are-handled)\n\n-\n\n [Configuring Warmup Requests to Improve Performance](/appengine/docs/legacy/standard/go111/configuring-warmup-requests)\n\n-\n\n [How Requests are Routed](/appengine/docs/legacy/standard/go111/how-requests-are-routed)\n\n-\n\n [Storing and Serving Static Files](/appengine/docs/legacy/standard/go111/serving-static-files)\n\n-\n\n [Structuring Web Services in App Engine](/appengine/docs/legacy/standard/go111/configuration-files)\n\nfind_in_page\n\n### Reference\n\n-\n\n [app.yaml Configuration File](/appengine/docs/legacy/standard/go111/config/appref)\n\n-\n\n [Request Headers and Responses](/appengine/docs/legacy/standard/go111/reference/request-response-headers)\n\n-\n\n [dispatch.yaml Configuration File](/appengine/docs/legacy/standard/go111/reference/dispatch-yaml)\n\n-\n\n [Scheduling Jobs with cron.yaml](/appengine/docs/legacy/standard/go111/scheduling-jobs-with-cron-yaml)\n\n-\n\n [Configuring Datastore Indexes with index.yaml](/appengine/docs/legacy/standard/go111/configuring-datastore-indexes-with-index-yaml)\n\n-\n\n [System Packages Included in the Go Runtime](/appengine/docs/legacy/standard/go111/reference/system-packages)\n\ninfo\n\n### Resources\n\n-\n\n [Go 1.11 release notes](/appengine/docs/legacy/standard/go111/release-notes)\n\n-\n\n [Pricing](/appengine/pricing)\n\n-\n\n [Quotas and limits](/appengine/docs/legacy/standard/go111/quotas)\n\n-\n\n [Choosing an environment](/appengine/docs/the-appengine-environments)\n\n-\n\n [Managing costs](/appengine/docs/legacy/standard/go111/managing-costs)\n\n-\n\n [Troubleshooting](/appengine/docs/legacy/standard/go111/troubleshooting)\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### Google Cloud Getting Started with Go tutorial\n\n\nWalks you through deploying an app to the App Engine standard environment.\n\n\n[Learn more](/go/getting-started) \nTraining \nTraining and tutorials\n\n### Google Cloud Authenticating Users with Go tutorial\n\n\nLearn how to control access to apps on App Engine standard environment.\n\n\n[Learn more](/go/getting-started/authenticate-users-with-iap) \nTraining \nTraining and tutorials\n\n### App Engine: Qwik Start - Go\n\n\nLearn the value of Google Cloud and how to incorporate cloud-based solutions into your business strategies.\n\n\n[Learn more](https://www.cloudskillsboost.google/catalog_lab/703) \nUse case \nUse cases\n\n### Controlling Access to Websites and Apps\n\n\nLearn how to control user access to enterprise web resources.\n\nEnterprise BeyondCorp Authentication App Engine\n\n\u003cbr /\u003e\n\n[Learn more](/solutions/authenticating-web-users) \nCode sample \nCode Samples\n\n### App Engine sample - Hello World\n\n\nThis sample demonstrates how build a Hello World app on App Engine standard environment with Go.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/golang-samples/tree/master/appengine/go11x/helloworld) \nCode sample \nCode Samples\n\n### App Engine sample - Cloud SQL\n\n\nThis sample demonstrates how to use Google Cloud SQL on App Engine standard environment with Go.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/golang-samples/tree/master/appengine/go11x/cloudsql) \nCode sample \nCode Samples\n\n### App Engine sample - Tasks\n\n\nThis sample demonstrates how to use Google Cloud Tasks on App Engine standard environment with Go.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/golang-samples/tree/master/appengine/go11x/tasks)\n\nRelated videos\n--------------"]]