mirror of
https://github.com/mgechev/revive.git
synced 2025-12-01 22:30:16 +02:00
refactor: enable godoclint linter in golangci-lint (#1576)
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
"github.com/mgechev/revive/lint"
|
||||
)
|
||||
|
||||
// exitChecker is a function type that checks whether a function call is an exit function.
|
||||
// exitFuncChecker is a function type that checks whether a function call is an exit function.
|
||||
type exitFuncChecker func(args []ast.Expr) bool
|
||||
|
||||
var alwaysTrue exitFuncChecker = func([]ast.Expr) bool { return true }
|
||||
|
||||
Reference in New Issue
Block a user