Go is an open-source, strongly-typed, compiled language invented to build concurrent and scalable software. Also to write lightweight microservices. Go was invented at Google by Rob Pike, Ken Thomson, and Robert Griesemer. They started designing Go in 2007, and it became open-sourced in 2009. Go is designed for easy, reliable, and efficient software.
Local Environment Setup
To set up your environment for the Go programming language, you need the following two software available on your computer-
Text editor(you can use notepad on windows, vim on Linux or Unix)
Download the tar file from https://golang.org/dl/ and unzip it to /usr/local.
Add /usr/local/go/bin to the PATH environment variable. This will install Go in Linux.
Download the MSI installer from https://golang.org/dl/.
Double-tap to start the installation process and follow the prompts.
Go will be installed in location c:\Go and will also add the directory c:\Go\bin to your path environment variable.
To verify that Go installed successfully, type the following command in your terminal.
|$ go version
|C Programming language
|Go Programming language