Skip to content

Commit

Permalink
Added a small note about setting up Go
Browse files Browse the repository at this point in the history
  • Loading branch information
vovimayhem committed Nov 30, 2016
1 parent 3f56b22 commit 9110b27
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ABOUT_SETTING_UP_GO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# About setting up Go

This is just a friendly reminder for myself, whenever I need to install Go on macOS, I need to set
the following variables on the `~/.bash_profile` file:

```bash
export GOPATH=$HOME/go
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN
```

Most of the available online documentation and resources I found missed to set the `GOBIN` variable,
which causes an error whenever running the `go get` command in the project's directory.

0 comments on commit 9110b27

Please sign in to comment.