Next: Auto Completion, Previous: Gopls Integration, Up: Other Extensions [Index]
There are two ways of using flymake
with Go
:
goflymake
, which internally uses go build
to capture all errors that a
regular compilation would also produce
flymake-go
for a more lightweight solution that only uses gofmt
and as
such is only able to catch syntax errors. Unlike goflymake
, however, it
does not require an additional executable.
Additionally, there is flycheck
, a modern replacement for flymake
, which
comes with built-in support for Go
. In addition to using go build
or
gofmt
, it also has support for go vet
, golint
and errcheck
.