Skip to content

Commit

Permalink
Add Unwrap to common methods (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
cce authored Jul 28, 2021
1 parent b5b6565 commit 7dde483
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rule/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ var commonMethods = map[string]bool{
"ServeHTTP": true,
"String": true,
"Write": true,
"Unwrap": true,
}

func receiverType(fn *ast.FuncDecl) string {
Expand Down

0 comments on commit 7dde483

Please sign in to comment.