Skip to content

Commit d63d235

Browse files
tpoundsjirfag
authored andcommitted
Fix broken dominikh/go-tools URLs. (#747)
Fixes #654
1 parent 2cadaf5 commit d63d235

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,8 @@ golangci-lint help linters
429429
- [govet](https://golang.org/cmd/vet/) - Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string
430430
- [errcheck](https://github.com/kisielk/errcheck) - Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases
431431
- [staticcheck](https://staticcheck.io/) - Staticcheck is a go vet on steroids, applying a ton of static analysis checks
432-
- [unused](https://github.com/dominikh/go-tools/tree/master/cmd/unused) - Checks Go code for unused constants, variables, functions and types
433-
- [gosimple](https://github.com/dominikh/go-tools/tree/master/cmd/gosimple) - Linter for Go source code that specializes in simplifying a code
432+
- [unused](https://github.com/dominikh/go-tools/tree/master/unused) - Checks Go code for unused constants, variables, functions and types
433+
- [gosimple](https://github.com/dominikh/go-tools/tree/master/simple) - Linter for Go source code that specializes in simplifying a code
434434
- [structcheck](https://github.com/opennota/check) - Finds unused struct fields
435435
- [varcheck](https://github.com/opennota/check) - Finds unused global variables and constants
436436
- [ineffassign](https://github.com/gordonklaus/ineffassign) - Detects when assignments to existing variables are not used

pkg/lint/lintersdb/manager.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
114114
WithLoadDepsTypeInfo().
115115
WithPresets(linter.PresetUnused).
116116
WithSpeed(5).
117-
WithURL("https://github.com/dominikh/go-tools/tree/master/cmd/unused"),
117+
WithURL("https://github.com/dominikh/go-tools/tree/master/unused"),
118118
linter.NewConfig(golinters.NewGosimple()).
119119
WithLoadForGoAnalysis().
120120
WithPresets(linter.PresetStyle).
121121
WithSpeed(5).
122-
WithURL("https://github.com/dominikh/go-tools/tree/master/cmd/gosimple"),
122+
WithURL("https://github.com/dominikh/go-tools/tree/master/simple"),
123123
linter.NewConfig(golinters.NewStylecheck()).
124124
WithLoadForGoAnalysis().
125125
WithPresets(linter.PresetStyle).

0 commit comments

Comments
 (0)