Table of Contents

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