Skip to content

Commit d7ea266

Browse files
tpoundsjirfag
authored andcommitted
Fix minor grammatical error. Fixes golangci#556.
1 parent b0281e8 commit d7ea266

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ gosimple: Linter for Go source code that specializes in simplifying a code [fast
192192
govet (vet, vetshadow): Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string [fast: false, auto-fix: false]
193193
ineffassign: Detects when assignments to existing variables are not used [fast: true, auto-fix: false]
194194
staticcheck: Staticcheck is a go vet on steroids, applying a ton of static analysis checks [fast: false, auto-fix: false]
195-
structcheck: Finds an unused struct fields [fast: true, auto-fix: false]
195+
structcheck: Finds unused struct fields [fast: true, auto-fix: false]
196196
typecheck: Like the front-end of a Go compiler, parses and type-checks Go code [fast: true, auto-fix: false]
197197
unused: Checks Go code for unused constants, variables, functions and types [fast: false, auto-fix: false]
198198
varcheck: Finds unused global variables and constants [fast: true, auto-fix: false]
@@ -409,7 +409,7 @@ golangci-lint help linters
409409
- [staticcheck](https://staticcheck.io/) - Staticcheck is a go vet on steroids, applying a ton of static analysis checks
410410
- [unused](https://github.com/dominikh/go-tools/tree/master/cmd/unused) - Checks Go code for unused constants, variables, functions and types
411411
- [gosimple](https://github.com/dominikh/go-tools/tree/master/cmd/gosimple) - Linter for Go source code that specializes in simplifying a code
412-
- [structcheck](https://github.com/opennota/check) - Finds an unused struct fields
412+
- [structcheck](https://github.com/opennota/check) - Finds unused struct fields
413413
- [varcheck](https://github.com/opennota/check) - Finds unused global variables and constants
414414
- [ineffassign](https://github.com/gordonklaus/ineffassign) - Detects when assignments to existing variables are not used
415415
- [deadcode](https://github.com/remyoudompheng/go-misc/tree/master/deadcode) - Finds unused code

pkg/golinters/structcheck.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func (Structcheck) Name() string {
1717
}
1818

1919
func (Structcheck) Desc() string {
20-
return "Finds an unused struct fields"
20+
return "Finds unused struct fields"
2121
}
2222

2323
func (s Structcheck) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error) {

0 commit comments

Comments
 (0)