1
0
mirror of https://github.com/mgechev/revive.git synced 2025-03-17 20:57:58 +02:00

Add Unwrap to common methods (#547)

This commit is contained in:
chris erway 2021-07-28 04:50:09 -04:00 committed by GitHub
parent b5b656510a
commit 7dde483bac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,7 @@ var commonMethods = map[string]bool{
"ServeHTTP": true,
"String": true,
"Write": true,
"Unwrap": true,
}
func receiverType(fn *ast.FuncDecl) string {