Setting up the Go environment

25th Feb 2024

1 mins read

Let get this party started!

What do we require to set up our go environment?

  1. Install Vscode or your favourite code editor.
  2. Install Go
  3. Check the Go version to ensure that the installation is a success - go version
  4. Create GOPATH directory - 
    mkdir -p $GOPATH/src $GOPATH/pkg $GOPATH/bin
  5. Add GOPATH/bin to your path - 
    D:\go\bin