+
Skip to content

Tags: go-nv/goenv

Tags

2.2.26

Toggle 2.2.26's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

2.2.25

Toggle 2.2.25's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add support for major.minor.patch go.mod and toolchain (#455)

2.2.24

Toggle 2.2.24's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update APP_VERSION to 2.2.24 (#452)

Co-authored-by: goenv-bot <goenv-bot@users.noreply.github.com>

2.2.23

Toggle 2.2.23's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update APP_VERSION to 2.2.23 (#449)

Co-authored-by: goenv-bot <goenv-bot@users.noreply.github.com>

2.2.22

Toggle 2.2.22's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update APP_VERSION to 2.2.22 (#445)

Co-authored-by: goenv-bot <goenv-bot@users.noreply.github.com>

2.2.21

Toggle 2.2.21's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update APP_VERSION to 2.2.21

2.2.20

Toggle 2.2.20's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update APP_VERSION to 2.2.20 (#441)

Co-authored-by: goenv-bot <goenv-bot@users.noreply.github.com>

2.2.19

Toggle 2.2.19's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update APP_VERSION to 2.2.19

2.2.18

Toggle 2.2.18's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: missing exclusion of rehash on init (#437)

Cut time by 75%

~ via 🐹 v1.23.4 via 🐍 v3.12.8 (main) on ☁️
➜  time eval "$(goenv init -)"

real	0m0.755s
user	0m0.138s
sys		0m0.207s

~ via 🐹 v1.23.4 via 🐍 v3.12.8 (main) on ☁️
➜  time eval "$(goenv init - --no-rehash)"

real	0m0.407s
user	0m0.099s
sys		0m0.140s

After fix:

~ via 🐹 v1.23.4 via 🐍 v3.12.8 (main) on ☁️
➜  time eval "$(goenv init - --no-rehash)"

real	0m0.133s
user	0m0.032s
sys		0m0.051s

Signed-off-by: Justin Lecher <justin.lecher@astrazeneca.com>

2.2.17

Toggle 2.2.17's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update APP_VERSION to 2.2.17 (#432)

Co-authored-by: goenv-bot <goenv-bot@users.noreply.github.com>
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载