Setting up your Go development environment - Amazon Elastic Beanstalk
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Setting up your Go development environment

Set up a Go development environment to test your application locally before you deploy it to Amazon Elastic Beanstalk. This topic describes the setup steps for your development environment and provides links to installation pages for useful tools.

For common setup steps and tools that apply to all languages, see Configuring your development machine for use with Elastic Beanstalk.

Installing Go

To run Go applications locally, install Go. If you don't need a specific version, get the latest version that Elastic Beanstalk supports. For a list of supported versions, see Go in the Amazon Elastic Beanstalk Platforms document.

Download Go at https://golang.org/doc/install.

Installing the Amazon SDK for Go

If you need to manage Amazon resources from within your application, install the Amazon SDK for Go by using the following command.

$ go get github.com/aws/aws-sdk-go

For more information, see Amazon SDK for Go.