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

Member predicate PointerType::getMethod

Gets the method m belonging to the method set of this type, if any.

Note that this predicate never has a result for struct types. Methods are associated with the corresponding named type instead.

Method getMethod(string m)