Skip to content

Commit

Permalink
fix name to httperroryzer instead of httpmissingreturn
Browse files Browse the repository at this point in the history
Also while here, ran `go fmt sample/*.go`.
  • Loading branch information
odeke-em committed Nov 28, 2020
1 parent 3d62447 commit 9d75de8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion httperroryzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ This checker helps uncover latent nil dereference bugs, or security problems by
diagnostic for such mistakes.`

var Analyzer = &analysis.Analyzer{
Name: "httperrormissingreturn",
Name: "httperroryzer",
Doc: Doc,
Run: run,
Requires: []*analysis.Analyzer{
Expand Down
2 changes: 1 addition & 1 deletion sample/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func main() {
if err != nil {
panic(err)
}
blob, _ := httputil.DumpResponse(res, true)
blob, _ := httputil.DumpResponse(res, true)
res.Body.Close()
println(string(blob))
}
Expand Down

0 comments on commit 9d75de8

Please sign in to comment.