在Visual Studio Code终端输入以下命令:$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine")然后再运行go run main.go 就可以正常显示了