This repo contains files from my first steps into Go! Programming language. Like learning any other language, I start with the basics and expand from there.
Go! is what I call a Base 6 Language, simply put, these are language stacks that are supported by the different Cloud platform providers such as AWS, Azure, and GCP. These cloud platform providers support a common set of languages used to create cloud applications on there platform. The Base 6 languages are Java, Javascript (Node), Python, PHP7, Ruby and Go! or JJPPRG. There are some language stacks that also include C# or other programming languages and environments, but for most cloud services platforms the Base 6 languages are supported.
The Base 6 language term is not an industry term, but is a term used only by me to identify the language(s) as one(s) that can be used in on a certain Cloud service platform.
I used the golang official Docker image from Docker Hub to get started.
- I first installed Docker
- Opened up a terminal
- Then pulled the golang image using the following command:
docker pull golang - Once the Docker image was downloaded, in a terminal, I ran the following command:
docker run -it golangto start the environment.
Note: I found that no editors were installed on this image, so to edit files I had to install nano. To install the editor of your choice, run the following command: apt update followed by the commands required to install your editor: apt install nano or apt install vi.
Also, to run the Go! programs from the command line from any directory, I set my PATH environment variable to include the $GOPATH. Information on setting that up can be found here if needed.
I completed the "Up and Running with Go" course with David Gassner on Lynda.com, which is now Linkedin Learning to help me get upto speed, plus I spent some quality time with the documentation at https://golang.org website.
I hope this helps you and other get started or take a second look at the Go! programming language.
-- Clayton Barnette

