Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WithStackChecker ¶
type WithStackChecker struct {
// contains filtered or unexported fields
}
func New ¶
func New(pass *analysis.Pass, withoutStackError string, withStackError string) *WithStackChecker
func (*WithStackChecker) CheckErrorReturns ¶
func (c *WithStackChecker) CheckErrorReturns(fnNode *ast.FuncDecl)
CheckErrorReturns returns all return statements that return an error.
func (*WithStackChecker) PreorderedFuncDecl ¶
func (c *WithStackChecker) PreorderedFuncDecl(f func(ast.Node))
Click to show internal directories.
Click to hide internal directories.