nvim-go: A minimal implementation of Golang development plugin written in Lua for Neovim.
Features
- Auto format with
:GoFormat
(viagoimports
,gofmt
, andgofumpt
) when saving. - Run linters with
:GoLint
(viarevive
) automatically. - Quickly test with
:GoTest
,:GoTestFunc
,:GoTestFile
and:GoTestAll
. - Import packages with
:GoGet
and:GoImport
. - Modify struct tags with
:GoAddTags
,:GoRemoveTags
,:GoClearTags
,:GoAddTagOptions
,:GoRemoveTagOptions
and:GoClearTagOptions
. - Generates JSON models with
:GoQuickType
(viaquicktype
).