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

Member predicate Type::implements

Holds if this type implements an interface that has the qualified name pkg.name, that is, the method set of pkg.name is contained in the method set of this type and any type restrictions are satisfied.

predicate implements(string pkg, string name)