Junilu Lacar wrote:I started at golang.org and took the Tour. From there you'll find a number of links to more learning material. You can come back here if you have questions and we'll do our best to try and help.
Of course, you have to practice writing programs if you really want to learn.
Kevin Simonson wrote:and created an environment variable named <GOPATH> whose value is "C:\Users\kvnsmnsn\Langs\Go".
Junilu Lacar wrote:Also, see if there's anything in these instructions that are different from what you did: http://www.wadewegner.com/2014/12/easy-go-programming-setup-for-windows/
I work on a Mac so I can only guess at what might be wrong in your setup. I'm guessing it's because you have "<GOPATH>" instead of just "GOPATH" though.
Junilu Lacar wrote:Ok, let's eliminate every possible problem. Is C:\Go\bin part of your system Path variable?
Junilu Lacar wrote:No, you should just use the MSI you downloaded from the Go download page. You might want to double check the SHA256 checksum to make sure you got a good download.
Rob Spoor wrote:I use HashMyFiles for that. Open a file in it, then copy the checksum to your clipboard. If it matches, HashMyFiles will show the matching entry in green. You may need to enable the "Mark Hash in Clipboard' and "Mark Identical Hashes" options in the Options menu first.
Junilu Lacar wrote:I can't find any reference to this kind of problem with a Go install. I wish I had asked you this before, but did you confirm that after you uninstalled Go, that typing "go version" gave you an invalid command error? Just grabbing at straws at this point but it won't hurt to eliminate the possibility that there's a stray Go install somewhere on your path, however remote or seemingly impossible that may seem.
Kevin Simonson wrote:In fact, whenever I execute "go" and give it any command at all, I always get this same message.
Junilu Lacar wrote:I think that error message might lead you to what's been preventing you from running Go.
See https://coderanch.com/t/646513/java/system-find-path or search for other ways to resolve system cannot find the path specified error
Kevin Simonson wrote:I feel like an idiot! ... Problem solved.