Skip to content

path: do not second guess go env GOBIN - #3755

Merged
bhcleek merged 1 commit into
fatih:masterfrom
bhcleek:go1.27-gobin
Aug 23, 2026
Merged

bhcleek merged 1 commit into
fatih:masterfrom
bhcleek:go1.27-gobin

Conversation

@bhcleek

@bhcleek bhcleek commented Aug 22, 2026 •

Copy link
Copy Markdown
Collaborator

Go 1.27 provides a default for go env GOBIN when GOBIN is otherwise unset. Stop second guessing go env GOBIN - no longer read GOBIN directly when go env GOBIN provided output. Instead, trust go env GOBIN output. Continue to handle the case where go env GOBIN returned an empty string for backward compatiblity with Go 1.26.

@bhcleek bhcleek added this to the vim-go v1.30 milestone Aug 22, 2026
Go 1.27 added provides a default for go env GOBIN for when GOBIN is
otherwise unset. Stop second guessing go env GOBIN - no longer read
GOBIN directly when go env GOBIN provided output. Instead, trust go env
GOBIN output. Continue to handle the case where go env GOBIN returned an
empty string for backward compatiblity with Go 1.26.
@bhcleek
bhcleek merged commit aea4278 into fatih:master Aug 23, 2026
8 checks passed
@bhcleek
bhcleek deleted the go1.27-gobin branch August 23, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant