1
0
Fork 0
mirror of https://github.com/on4kjm/FLEcli.git synced 2025-01-18 13:01:09 +01:00

Start some notes about Go config

This commit is contained in:
Jean-Marc MEESSEN 2020-05-27 08:26:31 +02:00
parent 3c3507f3c3
commit 2e515702fc

12
notes/enableGo.md Normal file
View file

@ -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"
```