I am unable to get any of my go install binaries ($HOME/go/bin) to work with asdf-golang starting from version v1.20. I am probably doing something wrong, but it have worked perfectly with version prior to v1.20 and I am unable to figure this one out myself...
To Reproduce
Steps to reproduce the behavior:
$ asdf plugin update --all
$ asdf install golang 1.20.4
$ asdf global golang 1.20.4
$ go get golang.org/x/tools/gopls@latest
$ stat $HOME/go/bin/gopls
16777230 57318951 -rwxr-xr-x 1 $USER staff 0 25765874 "May 14 11:05:15 2023" "May 14 10:58:20 2023" "May 14 10:58:20 2023" "May 14 10:58:19 2023" 4096 52288 0 $HOME/go/bin/gopls
$ asdf reshim
$ gopls version
No preset version installed for command gopls
Please install a version by running one of the following:
$ asdf install golang 1.20.4
$ asdf global golang 1.19.3
$ asdf reshim
$ gopls version
gopls version
golang.org/x/tools/gopls v0.11.0
golang.org/x/tools/gopls@v0.11.0 h1:/nvKHdTtePQmrv9XN3gIUN9MOdUrKzO/dcqgbG6x8EY=
Expected behavior
go install binaries should work with go v1.20 and reshim.
Describe the bug
I am unable to get any of my
go install
binaries ($HOME/go/bin
) to work with asdf-golang starting from version v1.20. I am probably doing something wrong, but it have worked perfectly with version prior to v1.20 and I am unable to figure this one out myself...To Reproduce Steps to reproduce the behavior:
Expected behavior
go install
binaries should work with go v1.20 and reshim.Additional context
go version go1.20.4 darwin/arm64
v0.11.3