Start some notes about Go config

pull/2/head
Jean-Marc MEESSEN 4 years ago
parent 3c3507f3c3
commit 2e515702fc

@ -0,0 +1,12 @@
# Enable GO
Notes to enable/configure GO on my Mac
```
# GOlang related
export GOPATH="${HOME}/.go"
export GOROOT="$(brew --prefix golang)/libexec"
export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin"
test -d "${GOPATH}" || mkdir "${GOPATH}"
test -d "${GOPATH}/src/github.com" || mkdir -p "${GOPATH}/src/github.com"
```
Loading…
Cancel
Save