Table of Contents
Go - Installation
Steps
Install the go binary in the default location
GOROOT
Create a directory
workspace
with the following subdirectory
src
(Go source files),
pkg
(Package objects)
bin
(Executable commands).
Set up the
workspace
GOPATH
environment variable to the root path of the workspace
Add the
GOPATH/bin
and
GOROOT/bin
to the PATH env os.
Optional
GNU Compiler for Windows
Install
TDM-GCC
A compiler suite for 32- and 64-bit Windows based on the GNU toolchain
Idea Configuration
Install the Go Plugin:
https://github.com/go-lang-plugin-org/go-lang-idea-plugin/
Setup the go
SDK
to your
GOROOT
Open/Create a new project in a directory below your
base path
. If your package is called
hello
, open/create the directory
base_path\hello
.