Golang

What is Golang?

How to install it?

System Requirement:

Install the Go tools

If you are upgrading from an older version of Go you must first remove the existing version.

Linux, macOS, and FreeBSD tarballs

tar -C /usr/local -xzf go$VERSION.$OS-$ARCH.tar.gz
export PATH=$PATH:/usr/local/go/bin

macOS package installer

Windows

MSI installer

Zip archive

Setting environment variables under Windows

Test your installation

package mainimport "fmt"func main() {
fmt.Printf("hello, world\n")
}
C:\> cd %USERPROFILE%\go\src\hello
C:\Users\Gopher\go\src\hello> go build
C:\Users\Gopher\go\src\hello> hello
hello, world

Installing extra Go versions

$ go get golang.org/dl/go1.10.7
$ go1.10.7 download
$ go1.10.7 version
go version go1.10.7 linux/amd64

Uninstalling Go

Major Frameworks for Web Development in Golang -

--

--

Software Designer & Developer | Flutter Developer | Tech Stack Explorer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abhishek Thakur

Software Designer & Developer | Flutter Developer | Tech Stack Explorer