mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-10 18:47:45 +02:00
golang: location of gopath doesnt really matter
This commit is contained in:
parent
faf3e469b1
commit
25e05a86f5
@ -9,11 +9,13 @@ Make sure to set the `GOPATH` and the `GOBIN` variable and add the last to the `
|
|||||||
by adding the following to your `.profile`:
|
by adding the following to your `.profile`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
export GOPATH="${HOME}/code/go"
|
export GOPATH="${HOME}/go"
|
||||||
export GOBIN="${GOPATH}/bin"
|
export GOBIN="${GOPATH}/bin"
|
||||||
export PATH="${GOBIN}:${PATH}"
|
export PATH="${GOBIN}:${PATH}"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You can move the `GOPATH` where you want.
|
||||||
|
|
||||||
## IDE
|
## IDE
|
||||||
|
|
||||||
### Vim
|
### Vim
|
||||||
|
Loading…
x
Reference in New Issue
Block a user