diff --git a/README.md b/README.md index b4ebeb54..097f6820 100644 --- a/README.md +++ b/README.md @@ -485,8 +485,8 @@ golangci-lint help linters - [funlen](https://github.com/ultraware/funlen) - Tool for detection of long functions - [whitespace](https://github.com/ultraware/whitespace) - Tool for detection of leading and trailing whitespace - [wsl](https://github.com/bombsimon/wsl) - Whitespace Linter - Forces you to use empty lines! -- [gomnd](https://github.com/tommy-muehle/go-mnd) - An analyzer to detect magic numbers. - [goprintffuncname](https://github.com/jirfag/go-printf-func-name) - Checks that printf-like functions are named with `f` at the end +- [gomnd](https://github.com/tommy-muehle/go-mnd) - An analyzer to detect magic numbers. ## Configuration diff --git a/go.mod b/go.mod index 47061e16..981e246e 100644 --- a/go.mod +++ b/go.mod @@ -23,8 +23,8 @@ require ( github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21 github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0 github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 - github.com/jirfag/go-printf-func-name v0.0.0-20191110105641-45db9963cdd3 github.com/jingyugao/rowserrcheck v0.0.0-20191204022205-72ab7603b68a + github.com/jirfag/go-printf-func-name v0.0.0-20191110105641-45db9963cdd3 github.com/matoous/godox v0.0.0-20190911065817-5d6d842e92eb // v1.0 github.com/mattn/go-colorable v0.1.4 github.com/mitchellh/go-homedir v1.1.0 diff --git a/vendor/modules.txt b/vendor/modules.txt index 68b75f1e..3126202c 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -99,10 +99,10 @@ github.com/hashicorp/hcl/json/scanner github.com/hashicorp/hcl/json/token # github.com/inconshreveable/mousetrap v1.0.0 github.com/inconshreveable/mousetrap -# github.com/jirfag/go-printf-func-name v0.0.0-20191110105641-45db9963cdd3 -github.com/jirfag/go-printf-func-name/pkg/analyzer # github.com/jingyugao/rowserrcheck v0.0.0-20191204022205-72ab7603b68a github.com/jingyugao/rowserrcheck/passes/rowserr +# github.com/jirfag/go-printf-func-name v0.0.0-20191110105641-45db9963cdd3 +github.com/jirfag/go-printf-func-name/pkg/analyzer # github.com/kisielk/gotool v1.0.0 github.com/kisielk/gotool github.com/kisielk/gotool/internal/load @@ -196,7 +196,6 @@ golang.org/x/sys/windows golang.org/x/text/transform golang.org/x/text/unicode/norm golang.org/x/text/width -# golang.org/x/tools v0.0.0-20191108193012-7d206e10da11 => github.com/golangci/tools v0.0.0-20190915081525-6aa350649b1c # golang.org/x/tools v0.0.0-20200102140908-9497f49d5709 => github.com/golangci/tools v0.0.0-20190915081525-6aa350649b1c golang.org/x/tools/go/analysis golang.org/x/tools/go/analysis/passes/asmdecl