[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"很难理解"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"信息或代码不正确"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"没有我需要的信息/示例"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
设置开发环境
如需设置环境以便在 Go 1.12+ 中进行开发,请执行以下操作:
安装最新版本的 Go 1.12+。
如需获取受支持版本的列表,请参阅 Go 1.12+ 运行时环境。
安装并初始化 Cloud SDK。如果您已安装并初始化 Cloud SDK,请运行 gcloud components update
命令以更新到最新版本。
Cloud SDK 为您提供了 gcloud
命令行工具用于部署和管理应用。
下载 App Engine 版 Cloud SDK 即表示您同意遵守其使用条款。
安装并初始化 Cloud SDK
安装包含 Go 1.12+ 版 App Engine 扩展程序的 gcloud 组件。
如果您使用 apt
或 yum
软件包管理器安装了 Cloud SDK,请使用相同的软件包管理器安装 gcloud 组件。
否则,请使用以下命令:
gcloud components install app-engine-go
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"很难理解"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"信息或代码不正确"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"没有我需要的信息/示例"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-01-16 UTC.