1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-10-09 17:38:14 +02:00

golang: location of gopath doesnt really matter

This commit is contained in:
Marten
2021-04-29 17:17:47 +02:00
committed by GitHub
parent faf3e469b1
commit 25e05a86f5

View File

@@ -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`:
```sh
export GOPATH="${HOME}/code/go"
export GOPATH="${HOME}/go"
export GOBIN="${GOPATH}/bin"
export PATH="${GOBIN}:${PATH}"
```
You can move the `GOPATH` where you want.
## IDE
### Vim