Setup a Workspace for Go

Before you can start writing Golang code. You first need to set up a Workspace. A workspace is just a folder that will store all your Golang related stuff. In my case I’ll create a workspace called ‘go_project’: $ mkdir /root/go_project A workspace needs to have 3 top level folders […]

Read More

Installing Golang

Installing Golang is really easy, just following the instructions in the official guide. For example, for RHEL/CentOSm we would do something like: golang_archive_filename=go1.10.3.linux-amd64.tar.gz curl -o ${golang_archive_filename}${golang_archive_filename} tar -C /usr/local -xzf ${golang_archive_filename} cd /usr/local/go/bin cp -rfp /usr/local/go/bin/* /usr/bin/ However here are a few other ways to install Golang: RHEL/CentOS install […]

Read More

Golang Tutorial

What is Golang? Golang (aka G0) is a relatively new programming language Google that has taken the IT world by storm. It was released in 2009 and already some of the biggest applications are written in Go, including Docker, Terraform, and Kubernetes. This is a series of bitesize tutorials that’ll […]

Read More