1.下載phpstorm go 外掛 http://plugins.jetbrains.com/plugin/5047-go-language-golang-org-support-plugin
點選Dowload下載
選擇下載第外掛 點選ok 就安裝成功並且重啟生效
a.首先我們在gopath目錄下新建一個專案資料夾 gointo/cmd/hellowrod(golang?每個資料夾下面只能有一個main.go入口檔案 這裡自行goole)如下圖
點選右鍵執行
b.執行效果如下