-
It seems that most Go utilities have been submerged into gopls, the LSP server. So a lot of older websites that suggest how to configure go-mode might be outdated, because of the cultural shift away from the unix-ish little, collaborative utilities approach. This means you will need a LSP client -- the Go project has some documentation on that. I'd strongly recommend Eglot, if you are uncertain what to use(0). This page explains how to install gopls with your Go toolchain.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
I think that the one tool that might still be useful outside of gopls is goimports. It can be used as a gofmt replacement, that also automatically manages and removes imports. Gopls can integrate staticcheck and gofumpt, but my understanding is that they have to be installed manually. See the settings section for more on that(1).
-
It seems that most Go utilities have been submerged into gopls, the LSP server. So a lot of older websites that suggest how to configure go-mode might be outdated, because of the cultural shift away from the unix-ish little, collaborative utilities approach. This means you will need a LSP client -- the Go project has some documentation on that. I'd strongly recommend Eglot, if you are uncertain what to use(0). This page explains how to install gopls with your Go toolchain.
-
I think that the one tool that might still be useful outside of gopls is goimports. It can be used as a gofmt replacement, that also automatically manages and removes imports. Gopls can integrate staticcheck and gofumpt, but my understanding is that they have to be installed manually. See the settings section for more on that(1).