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. Write your first Go application Create a directory of your application, let’s call it my-app Open a terminal window in the my-app directory To create two sub-directories, execute mkdir cmdmkdir pkg Start the Atom text editor […]