Hi Kurtis, I reinstalled vscode,ubuntu and wsl as the cache kept holding onto previous installations of go. Now it correctly shows go 15 at the bottom of the vscode window. I typed 'which-a go' now it shows usr/local/go/bin/go Now the issue has been resolved.Thanks again.
On Thursday, March 25, 2021 at 3:41:41 PM UTC+11 Kurtis Rader wrote: > On Wed, Mar 24, 2021 at 9:16 PM Dr. Lincy Jim <drlin...@gmail.com> wrote: > >> Yes I am using Go in WSL(Sorry I forgot to mention it) >> go 1.13 version is in Networks >> \\wsl$\Ubuntu\home\lincy\go >> >> but the 1.15 version is in Networks \\wsl$\Ubuntu\user\local (go 1.15 >> has been extracted here) >> >> Should i manually copy the go 15 folder and place it where go 13 is? >> In Vscode at the bottom of the window it shows go 1.13? how do I change >> it to go 1.15 >> > > This is really a question for your whomever told you to upgrade from Go > 1.13 to 1.15. We have no idea why you were told to upgrade. Or who told you > to do the upgrade. Presumably it was the IT department responsible for the > computers you use at your $dayjob. > > I'll start by pointing out that you did not show us the output of `which > -a go`. Nonetheless, the information you did provide implies you have the > WSL equivalent of `\\wsl$\Ubuntu\home\lincy\go` (version 1.13) in your PATH > ahead of `\\wsl$\Ubuntu\user\local` (version 1.15). Perhaps you should just > delete your personal copy of the Go toolchain installed in > `\\wsl$\Ubuntu\home\lincy\go`. But, again, not knowing anything about your > $dayjob computer environment it might also be the case that you should have > installed the new version of Go in your personal directory rather than > /usr/local/. > > -- > Kurtis Rader > Caretaker of the exceptional canines Junior and Hank > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/b4a82017-d42d-47e4-891c-debe372862d5n%40googlegroups.com.