Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Commit e6a42df

Browse files
committed
fix: const
1 parent fe09255 commit e6a42df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

passes/bodyclose/bodyclose.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const (
2626
Doc = "bodyclose checks whether HTTP response body is closed successfully"
2727

2828
nethttpPath = "net/http"
29-
closeMethod = closeMethod
29+
closeMethod = "Close"
3030
)
3131

3232
type runner struct {

0 commit comments

Comments
 (0)