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

Member predicate ParameterOrResultDecl::getFunction

Gets the function to which this declaration belongs.

FuncDef getFunction()