Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

source GOBIN from go env GOBIN #3207

Merged
merged 3 commits into from
Apr 28, 2021
Merged

source GOBIN from go env GOBIN #3207

merged 3 commits into from
Apr 28, 2021

Conversation

bhcleek
Copy link
Collaborator

@bhcleek bhcleek commented Apr 21, 2021

This helps prepare for Go 1.17 when GOPATH will be unsupported.

doc: update docs for go_bin_path

Update docs for go_bin_path to prepare for sourcing GOBIN from go env.

util: add go#util#gobin()

Add go#util#gobin()

Use single quotes in function docs and rewrap those docs.

path: source GOBIN from go#util#env

Source GOBIN from go#util#env.

Use the local variable prefix for variables in go#path#BinPath().

Closes #3204

bhcleek added 3 commits April 21, 2021 10:56
Update docs for go_bin_path to prepare for sourcing GOBIN from `go env`.
Add go#util#gobin()

Use single quotes in function docs and rewrap those docs.
Source GOBIN from go#util#env.

Use the local variable prefix for variables in go#path#BinPath().
@bhcleek bhcleek added this to the vim-go 1.26 milestone Apr 21, 2021
@bhcleek bhcleek merged commit 2bdb629 into fatih:master Apr 28, 2021
@bhcleek bhcleek deleted the path/gobin branch April 28, 2021 17:35
bhcleek added a commit that referenced this pull request Apr 28, 2021
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.

GoInstallBinaries does not use go env GOBIN
1 participant