less than 1 minute read

Below, I have listed several helpful notes for installing and using Golang.

  1. Brief Golang setup steps. Go to your Environment Variables setting and set the following System Variables :

    Variable Value
    GOROOT C:\go
    GOPATH C:\goWorkspace
    Path C:\go\bin
    Path C:\goWorkspace\bin
  2. Useful comand to visualize git commit logs. The command git log --graph --oneline --decorate produces:

     $ git log --graph --oneline --decorate
     *   4475f4e (HEAD -> master, origin/master, origin/HEAD) Merged at home
     | * 85bc4c4 Update from office
     * | 782c9f3 Changed at home
     * 2086670 Installed packages
     * 0792a41 Added exercise files
     * d1242d6 Initial commit
  3. Solutions to exercises in GoTour are available at Go’s repository.

Leave a comment