Skip to content

Commit 9d75de8

Browse files
committed
fix name to httperroryzer instead of httpmissingreturn
Also while here, ran `go fmt sample/*.go`.
1 parent 3d62447 commit 9d75de8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

httperroryzer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ This checker helps uncover latent nil dereference bugs, or security problems by
4343
diagnostic for such mistakes.`
4444

4545
var Analyzer = &analysis.Analyzer{
46-
Name: "httperrormissingreturn",
46+
Name: "httperroryzer",
4747
Doc: Doc,
4848
Run: run,
4949
Requires: []*analysis.Analyzer{

sample/secrets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func main() {
2020
if err != nil {
2121
panic(err)
2222
}
23-
blob, _ := httputil.DumpResponse(res, true)
23+
blob, _ := httputil.DumpResponse(res, true)
2424
res.Body.Close()
2525
println(string(blob))
2626
}

0 commit comments

Comments
 (0)