Go - Installation

Local Install

Go programming language, you need the subsequent two software program to be had on your pc
  • A text editor
  • Go compiler

Text Editor

There are many text editor to type your packages. Examples of text editors encompass Windows Notepad, OS Edit command, Brief, Epsilon, EMACS, and vim or vi.

The call and model of text editors can range on different operating systems For instance, Notepad is used on Windows, and vim or vi is used on Windows in addition to Linux or UNIX.

documents you create with the textual content editor are called supply files. Comprise application supply code. The source files for Go programs are commonly named with the extension “.Move”

The Go Compiler

Download the today's version of Go installable archive record from Go Downloads.

go1.Four.Home windows-amd64.Msi. First copied it into C:>pass folder.
OS Archive call
Windows go1.4.Windows-amd64.Msi
Linux go1.4.Linux-amd64.Tar.Gz
Mac go1.Four.Darwin-amd64-osx10.8.Pkg
FreeBSD go1.Four.Freebsd-amd64.Tar.Gz

Installation on UNIX/Linux/Mac OS X, and FreeBSD

Extract the down load archive into the folder /usr/neighborhood Go tree in /usr/nearby/move. For example
OS Output
Linux export PATH = $PATH:/usr/neighborhood/pass/bin
Mac export PATH = $PATH:/usr/local/go/bin
FreeBSD export PATH = $PATH:/usr/neighborhood/go/bin