mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Revert 46c1f18892cb7e5ae8d03dbac1a64529ab4014f2...20b15082206a3ddbc3eeb7f44f2ee51495090bc2 on SettingGOPATH
parent
20b1508220
commit
fc5f709531
@ -19,7 +19,7 @@ The `GOPATH` environment variable specifies the location of your workspace. If n
|
||||
## Go 1.13+
|
||||
|
||||
```bash
|
||||
go env -X GOPATH=$HOME/go
|
||||
go env -w GOPATH=$HOME/go
|
||||
```
|
||||
|
||||
## Bash
|
||||
@ -34,7 +34,7 @@ Save and exit your editor. Then, source your `~/.bash_profile`.
|
||||
source ~/.bash_profile
|
||||
```
|
||||
|
||||
## ~/.zshrc
|
||||
## Zsh
|
||||
|
||||
Edit your `~/.zshrc` file to add the following line:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user