Skip to content

Commit

Permalink
fixed Analyzer.Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
toshiki-otaka committed Dec 12, 2023
1 parent a1b9718 commit cc3aaed
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions empty_err_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ import (
"golang.org/x/tools/go/ast/inspector"
)

const doc = "empty_err_checker is ..."

var Analyzer = &analysis.Analyzer{
Name: "empty_err_checker",
Doc: doc,
Doc: "empty_err_checker is checking whether the return value 'err' is nil.",
Run: run,
Requires: []*analysis.Analyzer{
inspect.Analyzer,
Expand Down

0 comments on commit cc3aaed

Please sign in to comment.