首选项-> package setting->Golang config->setting user

{
"PATH": "C:\Go\bin",
"GOPATH": "C:\Go"
}