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

Member predicate DefinedType::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 defined type instead.

Method getMethod(string m)