How to create your first hello world program in Go!
Go is a powerful language that powers the infrastructure that Project Reclass runs on. Docker, Kubernetes, Terraform, Vault, and even our chatbots are written in Go. Having even a basic understanding of the language can assist in making important infrastructure decisions, and interacting with the tools we utilize. Go also has a very large, friendly and diverse community.
First you'll need to install Golang, you can do so here. Go is often also found in most package managers so you can install it using the default manager for your system.
Follow the below instructions to properly finish setup on your Linux System
Package managers may handle the path setting for you. Check this with echo $PATH
Create a file named main.go and add the following:
Save your code and run go run main.go
There are several solid resources for go the docs page being a great goto
Other tools I like are gobyexample and Learn Go with Tests
Finally, check out the Go Playground and Play with Go