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

Member predicate Public::MethodCallNode::getTarget

Gets the declared target of this call, if it exists.

This doesn’t exist when a function is called via a variable.

Method getTarget()