mirror of
https://github.com/mgechev/revive.git
synced 2025-03-19 21:07:46 +02:00
Add Unwrap to common methods (#547)
This commit is contained in:
parent
b5b656510a
commit
7dde483bac
@ -29,6 +29,7 @@ var commonMethods = map[string]bool{
|
|||||||
"ServeHTTP": true,
|
"ServeHTTP": true,
|
||||||
"String": true,
|
"String": true,
|
||||||
"Write": true,
|
"Write": true,
|
||||||
|
"Unwrap": true,
|
||||||
}
|
}
|
||||||
|
|
||||||
func receiverType(fn *ast.FuncDecl) string {
|
func receiverType(fn *ast.FuncDecl) string {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user