Skip to content

Commit

Permalink
feat: add gotests, gomodifytags, impl (#28)
Browse files Browse the repository at this point in the history
Co-authored-by: cinuor <[email protected]>
  • Loading branch information
williamboman and cinuor1 authored Jul 8, 2022
1 parent 8cad236 commit a342c97
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lua/mason-registry/gomodifytags/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
local Pkg = require "mason.core.package"
local go = require "mason.core.managers.go"

return Pkg.new {
name = "gomodifytags",
desc = [[Go tool to modify/update field tags in structs]],
homepage = "https://github.com/fatih/gomodifytags",
categories = {},
languages = { Pkg.Lang.Go },
install = go.packages { "github.com/fatih/gomodifytags", bin = { "gomodifytags" } },
}
11 changes: 11 additions & 0 deletions lua/mason-registry/gotests/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
local Pkg = require "mason.core.package"
local go = require "mason.core.managers.go"

return Pkg.new {
name = "gotests",
desc = [[Gotests is a Golang commandline tool that generates table driven tests based on its target source files' function and method signatures.]],
homepage = "https://github.com/cweill/gotests",
categories = {},
languages = { Pkg.Lang.Go },
install = go.packages { "github.com/cweill/gotests/...", bin = { "gotests" } },
}
11 changes: 11 additions & 0 deletions lua/mason-registry/impl/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
local Pkg = require "mason.core.package"
local go = require "mason.core.managers.go"

return Pkg.new {
name = "impl",
desc = [[impl generates method stubs for implementing an interface.]],
homepage = "https://github.com/josharian/impl",
categories = {},
languages = { Pkg.Lang.Go },
install = go.packages { "github.com/josharian/impl", bin = { "impl" } },
}
3 changes: 3 additions & 0 deletions lua/mason-registry/index.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,17 @@ return {
["go-debug-adapter"] = "mason-registry.go-debug-adapter",
["golangci-lint"] = "mason-registry.golangci-lint",
["golangci-lint-langserver"] = "mason-registry.golangci-lint-langserver",
gomodifytags = "mason-registry.gomodifytags",
gopls = "mason-registry.gopls",
gotests = "mason-registry.gotests",
["grammarly-languageserver"] = "mason-registry.grammarly-languageserver",
["graphql-language-service-cli"] = "mason-registry.graphql-language-service-cli",
["groovy-language-server"] = "mason-registry.groovy-language-server",
["haskell-language-server"] = "mason-registry.haskell-language-server",
["haxe-language-server"] = "mason-registry.haxe-language-server",
["hoon-language-server"] = "mason-registry.hoon-language-server",
["html-lsp"] = "mason-registry.html-lsp",
impl = "mason-registry.impl",
intelephense = "mason-registry.intelephense",
jdtls = "mason-registry.jdtls",
["jedi-language-server"] = "mason-registry.jedi-language-server",
Expand Down

0 comments on commit a342c97

Please sign in to comment.