golang官網地址是 https://golang.org/dl/ 若是沒有牆的話,能夠用這個地址 https://golang.google.cn/dl/ 如圖:
安裝方式分兩種(如上圖):git
組件名 | 對應Git地址 | 功能 |
---|---|---|
gocode | github.com/mdempsky/gocode | 自動補全 |
gopkgs | github.com/uudashr/gopkgs/cmd/gopkgs | 自動補全未導入的包 |
go-outline | github.com/ramya-rao-a/go-outline | 當前文件中進行符號搜索 |
go-symbols | github.com/acroca/go-symbols | 當前工做空間進行符號搜索 |
guru | golang.org/x/tools/cmd/guru | 查找全部引用 |
gorename | golang.org/x/tools/cmd/gorename | 重命名符號 |
dlv | github.com/go-delve/delve/cmd/dlv | 調試 |
godef | github.com/rogpeppe/godef | 轉到定義功能 |
goreturns | github.com/sqs/goreturns | 格式化代碼 |
golint | golang.org/x/lint/golint | 用在命令行上命名的GO文件 |
gotests | github.com/cweill/gotests/... | 生成單元測試 |
gomodifytags | github.com/fatih/gomodifytags | 修改結構提上的標籤 |
impl | github.com/josharian/impl | 生成接口的存根 |
fillstruct | github.com/davidrjenni/reftools/cmd/fillstruct | 用默認值填充結構文字 |
goplay | github.com/haya14busa/goplay/cmd/goplay | GO後臺運行當前文件 |
{ "git.ignoreLimitWarning": true, "files.autoSave": "onFocusChange", //開啓自動保存 "go.buildFlags": [], "go.lintFlags": [], "go.useCodeSnippetsOnFunctionSuggest": false, "[go]": { "editor.insertSpaces": false, "editor.formatOnSave": true }, "go.formatTool": "goreturns", "go.goroot": "C:\\Go", "go.gopath": "D:\\GoPath" }
{ "version": "0.2.0", "configurations": [ { "name": "Launch", "type": "go", "request": "launch", "mode": "debug", "remotePath": "", //"port": 2345, //"host": "127.0.0.1", "program": "${fileDirname}", //workspaceRoot "env": {}, "args": [], "showLog": true } ] }