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

Member predicate Method::implements

Holds if this method implements the method that has qualified name pkg.tp.name, that is, if pkg.tp.name is a method on an interface, and this is a method with the same name on a type that implements that interface.

predicate implements(string pkg, string tp, string name)