Skip to content

Commit 7dde483

Browse files
authored
Add Unwrap to common methods (#547)
1 parent b5b6565 commit 7dde483

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rule/utils.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ var commonMethods = map[string]bool{
2929
"ServeHTTP": true,
3030
"String": true,
3131
"Write": true,
32+
"Unwrap": true,
3233
}
3334

3435
func receiverType(fn *ast.FuncDecl) string {

0 commit comments

Comments
 (0)