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,:GoTestFileand:GoTestAll. - Import packages with
:GoGetand:GoImport. - Modify struct tags with
:GoAddTags,:GoRemoveTags,:GoClearTags,:GoAddTagOptions,:GoRemoveTagOptionsand:GoClearTagOptions. - Generates JSON models with
:GoQuickType(viaquicktype).
