install Compile and install packages named by the import paths.…
Compile and install packages named by the import paths. More information: https://pkg.go.dev/cmd/go#hdr-Compile_and_install_packages_and_dependencies.
go install
go install {{path/to/package}}
go.mod
in the current directory:go install {{golang.org/x/tools/gopls}}@{{latest}}
go.mod
in the current directory:go install {{golang.org/x/tools/gopls}}