Add "vibe-coded" go-helper utils

This commit is contained in:
2025-12-23 16:56:46 +05:00
parent a582bd6c05
commit 86796d6e12
4 changed files with 516 additions and 10 deletions

15
lua/plugins/go-helper.lua Normal file
View File

@ -0,0 +1,15 @@
return {
{
"go-helper",
dir = vim.fn.stdpath("config") .. "/lua/scripts",
ft = "go",
keys = {
{ "<leader>cei", "<cmd>GoExtractInterface<cr>", desc = "Extract Interface", ft = "go" },
{ "<leader>cec", "<cmd>GoGenerateConstructor<cr>", desc = "Generate Constructor", ft = "go" },
},
config = function()
require("scripts.go-extract-interface").setup()
require("scripts.go-gen-constructor").setup()
end,
},
}