I've posted my problem on stack overflow and could not fix it! https://stackoverflow.com/questions/46392778/golang-crashing-windows-console
I'm running Windows 10, installed go through x64 msi installer. Basically, whenever I run Go in cmd with an argument (build, env, list, get...) the program seems to be either closing or crashing the console after completing running. So if I run go build it will work but will close console before I can read any errors. The only way I can use go is by writing all go commands to a file such as: go env > file.txt -- 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. For more options, visit https://groups.google.com/d/optout.