From 25e05a86f589bb74235df44166585182ac469d43 Mon Sep 17 00:00:00 2001 From: Marten <43725244+Tiyn@users.noreply.github.com> Date: Thu, 29 Apr 2021 17:17:47 +0200 Subject: [PATCH] golang: location of gopath doesnt really matter --- wiki/programming-languages/golang.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wiki/programming-languages/golang.md b/wiki/programming-languages/golang.md index c2d623d..dd3e44a 100644 --- a/wiki/programming-languages/golang.md +++ b/wiki/programming-languages/golang.md @@ -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