coc-golang

Package search

Search pkg.go.dev for packages and act on the results.

go.pkg.search searches pkg.go.dev for Go packages and acts on what it finds, without leaving the editor. It searches as you type.

:CocCommand go.pkg.search

Each result shows the package path, its latest version, and its synopsis.

Each action runs a go command:

ActionCommand
get (default)go get <packagePath>
installgo install <packagePath>
downloadgo mod download <modulePath>

Several packages can be picked at once, and each one gets its own command.