Tags: go-nv/goenv
Tags
Bump actions/checkout from 4 to 5 (#473) Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Don't suggest adding GOROOT/bin and GOPATH/bin to the PATH. (#463) The installation instructions say to make the shell init script execute the output of `goenv init -`. That output contains this among other things: ``` export PATH="${GOENV_ROOT}/shims:${PATH}" ``` The main point of that line is to make the `go` command resolve to `$GOENV_ROOT/shims/go` such that `goenv` has control over the default `go`. The installation instructions later say to add this after the eval in order to let "goenv manage GOPATH and GOROOT": ``` export PATH="$GOROOT/bin:$PATH" export PATH="$PATH:$GOPATH/bin" ``` This effectively overrides the first line as `$GOROOT/bin` is also expected to contain a `go` binary. However that binary is not controlled by `goenv`. Furthermore AFAICT these two lines do not make "goenv manage GOPATH and GOROOT". This has confused at least [one other user](#186 (comment)). This change removes the section about GOROOT and GOPATH as I don't see why it would belong in the goenv installation instructions.
PreviousNext