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

Member predicate NamedType::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)