mirror of
https://github.com/mgechev/revive.git
synced 2025-07-07 00:35:38 +02:00
Add Unwrap to common methods (#547)
This commit is contained in:
@ -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 {
|
||||||
|
Reference in New Issue
Block a user