golang 1.12 開始, 默認的 go install 再也不生成 pkg 文件. 因此對第三方庫的引用, 沒法進行代碼的自動補全.golang
go install
go install -i 會生成 pkg 文件夾和編譯文件code
go install -i