You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@raghvenders There are many different ways, but I think the easiest is to configure your PATH to include the directory where the go1.22 binary exists. Then, when gopls invokes go for the project that specifies go 1.22, the go command will search the PATH and switch to go1.22 binary underneath.
~/godemo$ cat go.mod
~/godemo$ ls ./bin
~/godemo$ PATH=$(pwd)/bin:$PATH go version
~/godemo$ cat ./bin/go1.99999