gopls (pronounced "Go please") is the official Go language server developed by the Go team. It provides IDE features to any LSP-compatible editor.
Install
* Install Go Programming Language from https://go.dev/doc/install.
* Install gopls
Code: Select all
From command prompt run
>go install golang.org/x/tools/gopls@latest
Server name
Go language server
Command
gopls.exe
Initial folder
%homepath%\go\bin
Command line arguments
File extension and language id
.go=go
Communication channel
* Command line (stdio)
Source folders
<Path to your go project files>
Initialize options
{}