diff options
author | blanet <moweng.xx@alibaba-inc.com> | 2022-10-11 05:34:20 +0300 |
---|---|---|
committer | blanet <moweng.xx@alibaba-inc.com> | 2022-10-11 09:22:50 +0300 |
commit | 65fe68becec2f3ab53716ce122caf1526e4138ab (patch) | |
tree | 27a4f19d76d92ad9387ce894226eb2670b840867 /tools | |
parent | 85c6330bd945fc8aa4562e60b5e175fd7f0f6cb2 (diff) |
tools: Keep package name consistent with go.mod
The new tools mechanism is great, this commit just changes the package
name for external tools from `gofumpt` to its own module name, to fix a
small nits from MR#4910.
Signed-off-by: blanet <moweng.xx@alibaba-inc.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dlv/tool.go | 2 | ||||
-rw-r--r-- | tools/go-licenses/tool.go | 2 | ||||
-rw-r--r-- | tools/gocover-cobertura/tool.go | 2 | ||||
-rw-r--r-- | tools/goimports/tool.go | 2 | ||||
-rw-r--r-- | tools/golangci-lint/tool.go | 2 | ||||
-rw-r--r-- | tools/gotestsum/tool.go | 2 | ||||
-rw-r--r-- | tools/protoc-gen-go-grpc/tool.go | 2 | ||||
-rw-r--r-- | tools/protoc-gen-go/tool.go | 2 | ||||
-rw-r--r-- | tools/protolint/tool.go | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/tools/dlv/tool.go b/tools/dlv/tool.go index 7387ede14..b0740379c 100644 --- a/tools/dlv/tool.go +++ b/tools/dlv/tool.go @@ -1,4 +1,4 @@ -package gofumpt +package dlv import ( _ "github.com/go-delve/delve/cmd/dlv" diff --git a/tools/go-licenses/tool.go b/tools/go-licenses/tool.go index 0a740b8f1..55e3f8c1e 100644 --- a/tools/go-licenses/tool.go +++ b/tools/go-licenses/tool.go @@ -1,4 +1,4 @@ -package gofumpt +package go_licenses import ( _ "github.com/google/go-licenses" diff --git a/tools/gocover-cobertura/tool.go b/tools/gocover-cobertura/tool.go index 324356e7b..32fb2e2f1 100644 --- a/tools/gocover-cobertura/tool.go +++ b/tools/gocover-cobertura/tool.go @@ -1,4 +1,4 @@ -package gofumpt +package gocover_cobertura import ( _ "github.com/t-yuki/gocover-cobertura" diff --git a/tools/goimports/tool.go b/tools/goimports/tool.go index fff59ac0a..4d24adecc 100644 --- a/tools/goimports/tool.go +++ b/tools/goimports/tool.go @@ -1,4 +1,4 @@ -package gofumpt +package goimports import ( _ "golang.org/x/tools/cmd/goimports" diff --git a/tools/golangci-lint/tool.go b/tools/golangci-lint/tool.go index 44f0ae7a5..c51e0da71 100644 --- a/tools/golangci-lint/tool.go +++ b/tools/golangci-lint/tool.go @@ -1,4 +1,4 @@ -package gofumpt +package golangci_lint import ( _ "github.com/golangci/golangci-lint/cmd/golangci-lint" diff --git a/tools/gotestsum/tool.go b/tools/gotestsum/tool.go index 907044c86..5099b5b39 100644 --- a/tools/gotestsum/tool.go +++ b/tools/gotestsum/tool.go @@ -1,4 +1,4 @@ -package gofumpt +package gotestsum import ( _ "gotest.tools/gotestsum" diff --git a/tools/protoc-gen-go-grpc/tool.go b/tools/protoc-gen-go-grpc/tool.go index aa04b5a51..870914e21 100644 --- a/tools/protoc-gen-go-grpc/tool.go +++ b/tools/protoc-gen-go-grpc/tool.go @@ -1,4 +1,4 @@ -package gofumpt +package protoc_gen_go_grpc import ( _ "google.golang.org/grpc/cmd/protoc-gen-go-grpc" diff --git a/tools/protoc-gen-go/tool.go b/tools/protoc-gen-go/tool.go index 9301fdec0..566fe9e5f 100644 --- a/tools/protoc-gen-go/tool.go +++ b/tools/protoc-gen-go/tool.go @@ -1,4 +1,4 @@ -package gofumpt +package protoc_gen_go import ( _ "google.golang.org/protobuf/cmd/protoc-gen-go" diff --git a/tools/protolint/tool.go b/tools/protolint/tool.go index 4de00212a..eab4bdf0b 100644 --- a/tools/protolint/tool.go +++ b/tools/protolint/tool.go @@ -1,4 +1,4 @@ -package gofumpt +package protolint import ( _ "github.com/yoheimuta/protolint/cmd/protolint" |