Go
About
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Installation
Change enable from False to True in the go section (cf module installation).
vscode-anywhere:
ansible:
enabled: TrueFor more details read the official documentation.
Requirements
No requirements.
VSCode
VSCode extensions
ms-vscode.go
This extension adds rich language support for the Go language to VS Code.

VSCode settings
Global settings
{
"go.lintTool": "gometalinter"
}Windows settings
{
"go.goroot": "C:\\VSCode-Anywhere\\apps\\scoop\\apps\\go\\current",
"go.gopath": "C:\\VSCode-Anywhere\\apps\\scoop\\persist\\go"
}Linux settings
{
"go.goroot": "/home/linuxbrew/.linuxbrew/opt/go/libexec",
"go.gopath": "/home/myuser/VSCode-Anywhere/apps/vscode-anywhere/go"
}VSCode keybindings
No keybindings.
Software
Windows software
scoop
msys2
Linux software
brew
MacOS software
brew
Documentation
VSCode-Anywhere
Environment
Windows environment
GOROOT: C:\VSCode-Anywhere\apps\scoop\apps\go\current
GOPATH: C:\VSCode-Anywhere\apps\scoop\persist\go
PATH: C:\VSCode-Anywhere\apps\scoop\persist\go\binLinux environment
GOROOT: /home/linuxbrew/.linuxbrew/opt/go/libexec
GOPATH: /home/myuser/VSCode-Anywhere/apps/vscode-anywhere/goSpecific settings
go_bin
Specify the path to the go binary.
Windows:
vscode-anywhere:
go:
go_bin: C:\VSCode-Anywhere\apps\scoop\shims\go.ps1Linux / MacOS
vscode-anywhere:
go:
go_bin: /home/linuxbrew/.linuxbrew/bin/gomodules
For each module you must specify the path like github.com/ramya-rao-a/go-outline.
enabled: enabled the moduleversion: the version of the module to install
Below are all go modules installed by SCode-Anywhere:
vscode-anywhere:
go:
modules:
github.com/ramya-rao-a/go-outline:
enabled: True
version: null
github.com/acroca/go-symbols:
enabled: True
version: null
github.com/stamblerre/gocode:
enabled: True
version: null
github.com/mdempsky/gocode:
enabled: True
version: null
github.com/rogpeppe/godef:
enabled: True
version: null
golang.org/x/tools/cmd/godoc:
enabled: True
version: null
github.com/zmb3/gogetdoc:
enabled: True
version: null
golang.org/x/lint/golint:
enabled: True
version: null
github.com/fatih/gomodifytags:
enabled: True
version: null
github.com/uudashr/gopkgs/cmd/gopkgs:
enabled: True
version: null
golang.org/x/tools/cmd/gorename:
enabled: True
version: null
github.com/sqs/goreturns:
enabled: True
version: null
golang.org/x/tools/cmd/goimports:
enabled: True
version: null
github.com/cweill/gotests:
enabled: True
version: null
golang.org/x/tools/cmd/guru:
enabled: True
version: null
github.com/josharian/impl:
enabled: True
version: null
github.com/haya14busa/goplay/cmd/goplay:
enabled: True
version: null
github.com/alecthomas/gometalinter:
enabled: True
version: null
github.com/tylerb/gotype-live:
enabled: True
version: null
# github.com/sourcegraph/go-langserver:
# enabled: True
# version: null
github.com/go-delve/delve/cmd/dlv:
enabled: True
version: null
github.com/golangci/golangci-lint/cmd/golangci-lint:
enabled: True
version: null
github.com/mgechev/revive:
enabled: True
version: null
honnef.co/go/tools/cmd/staticcheck:
enabled: True
version: null
github.com/davidrjenni/reftools/cmd/fillstruct:
enabled: True
version: null
github.com/godoctor/godoctor:
enabled: True
version: nullLast updated
Was this helpful?