Build a Docker container image for your application

Create the image A Docker container image is one of the best formats to distribute your application. The container provides an immutable environment, so the application runs the same way on your workstation and on any server. We will use the simple Go application we have created in the Your first Go application post. In …

Debugging Go programs in Atom

To be able to debug Go programs in Atom, make sure the Go IDE is installed. See Install the Go IDE at Install and set up Go To start debugging select the Debugger tab in the upper right corner of Atom If you get the error message: The debugger is not attached, and when you click Attach debugger …

Using Go packages

To use a public package in your Go application add the line to the top of your program to import the package import “github.com/aws/aws-sdk-go/service/s3″ If this is the first time you are using the package, the error message appears in the output window of Atom when you save the file cannot find package “github.com/aws/aws-sdk-go/service/s3” in …

Your first Go application

Programming in GO is quick and fun. You can write a working, compiled application with a few lines of code. In this example, we will use Visual Studio Code to edit the source code, and we have already configured it to start from the command line with the “code” command. Write your first Go application Create …