{"repo":"ray-x/go.nvim","free":true,"listed":false,"github":"https://github.com/ray-x/go.nvim","clone":"git clone https://github.com/ray-x/go.nvim.git","description":"G'day Nvimer, Joyful Gopher: Explore the Feature-Packed Go Plugin for Neovim","language":"Lua","stars":2653,"topics":["neovim","nvim","go","golang","nvim-plugin","treesitter","gopls","neovim-plugin","null-ls","nvim-dap"],"license":"MIT","category":"dev-tools","readme_excerpt":"go.nvim A modern go neovim plugin based on treesitter, gopls, dap debugger and AI. It is written in Lua and async as much as possible. PR & Suggestions are welcome. The plugin covers most features required for a gopher. LSP & Navigation - gopls commands: fillstruct, organize imports, list modules/packages, gc details, generate, change signature, etc. - All GoToXxx (reference, implementation, definition, doc, peek code/doc, etc.) via gopls/lspconfig. Check navigator.lua for a floating UI experience - Show interface implementations with virtual text - Inlay hints (gopls 0.9+; enabled by default in 0.10+) - CodeLens & CodeAction support Build, Test & Coverage - Async build/make/test with libuv job wrapper - Test with go test , gotestsum, or ginkgo — including floaterm support - Generate unit tests with gotests (table-driven, testify) - Test coverage: run coverage, display signs, and show function metrics - Smart build-tag detection for debug/test runs (e.g. //go:build integration ) Code Generation & Refactoring - GoIfErr , GoFillStruct , GoFillSwitch , GoFixPlurals , GoGenReturn — powered by treesitter/go AST - GoImpl — generate interface method stubs - GoEnum — generate enum helpers - GoJson2Struct — convert JSON/YAML to Go structs - GoMockGen — generate mocks with mockgen - GoNew — create files/projects from templates (including gonew ) - GoFix - Run go fix - Struct tag management with gomodifytags Formatting & Linting - Format via LSP (gopls) or CLI ( gofumpt , goimports ) - ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ray-x","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ray-x/go.nvim/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}