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:
parent
3c3507f3c3
commit
2e515702fc
1 changed files with 12 additions and 0 deletions
12
notes/enableGo.md
Normal file
12
notes/enableGo.md
Normal 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"
|
||||
```
|
Loading…
Reference in a new issue