Merge pull request #991 from aculich/fix-apple-silicon-goroot-path
Fix GOROOT path for Apple Silicon Macs
This commit is contained in:
commit
70aac4e5f9
@ -137,9 +137,9 @@ export PATH=$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$PATH
|
|||||||
for Apple Silicon based macs
|
for Apple Silicon based macs
|
||||||
```bash
|
```bash
|
||||||
# Golang environment variables
|
# Golang environment variables
|
||||||
export GOROOT=/opt/homebrew/bin/go
|
export GOROOT=$(brew --prefix go)/libexec
|
||||||
export GOPATH=$HOME/go
|
export GOPATH=$HOME/go
|
||||||
export PATH=$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$PATH:
|
export PATH=$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$PATH
|
||||||
```
|
```
|
||||||
|
|
||||||
### Setup
|
### Setup
|
||||||
|
Loading…
x
Reference in New Issue
Block a user