aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-registry/index/json-to-struct/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/mason-registry/index/json-to-struct/init.lua')
-rw-r--r--lua/mason-registry/index/json-to-struct/init.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/mason-registry/index/json-to-struct/init.lua b/lua/mason-registry/index/json-to-struct/init.lua
new file mode 100644
index 00000000..e92ca20b
--- /dev/null
+++ b/lua/mason-registry/index/json-to-struct/init.lua
@@ -0,0 +1,11 @@
+local Pkg = require "mason-core.package"
+local go = require "mason-core.managers.go"
+
+return Pkg.new {
+ name = "json-to-struct",
+ desc = [[A simple command-line tool for generating to struct definitions from JSON]],
+ homepage = "https://github.com/tmc/json-to-struct",
+ categories = {},
+ languages = { Pkg.Lang.Go },
+ install = go.packages { "github.com/tmc/json-to-struct", bin = { "json-to-struct" } },
+}