feat(json2go): implement
This commit is contained in:
parent
4a2384ade8
commit
72dd68f25f
7 changed files with 141 additions and 1 deletions
|
|
@ -70,6 +70,11 @@ cmd("GoTagClear", function()
|
|||
require("gopher").tags.clear()
|
||||
end)
|
||||
|
||||
-- :GoJson
|
||||
cmd("GoJson", function(opts)
|
||||
require("gopher.json2go").json2go(opts.fargs[1])
|
||||
end, "?")
|
||||
|
||||
-- :GoTest
|
||||
cmd("GoTestAdd", function()
|
||||
require("gopher").test.add()
|
||||
|
|
@ -89,7 +94,6 @@ cmd("GoMod", function(opts)
|
|||
end, "*")
|
||||
|
||||
cmd("GoGet", function(opts)
|
||||
vim.print(opts)
|
||||
require("gopher").get(opts.fargs)
|
||||
end, "*")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue