asdf-community / asdf-golang

Go plugin for the asdf version manager
https://github.com/asdf-vm/asdf
MIT License
534 stars 89 forks source link

Go install don't work #53

Closed schweigert closed 3 years ago

schweigert commented 3 years ago

Describe the bug

$GOPATH and $GOROOT isn't correctly started when install, use or select a go version using asdf-golang. Executables can't run because $GOPATH and $GOROOT isen't setted.

To Reproduce

Run this steps:

asdf install golang 1.16.4
go get -v github.com/rubenv/sql-migrate/...

sql-migrate
zsh: command not found: sql-migrate

Expected behavior

sql-migrate must be accessible.

kennyp commented 3 years ago

Have you done a reshim?

https://github.com/kennyp/asdf-golang/#when-using-go-get

kennyp commented 3 years ago

I'm going to assume you forgot to reshim or got it figured out otherwise. Feel free to re-open if you're still having issues.