CodeQL library for Go
codeql/go-all 0.7.12 (changelog, source)
Search

Member predicate ReceiverDecl::getFunction

Gets the function declaration to which this receiver belongs.

FuncDecl getFunction()