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

Member predicate VariableWithFields::getField

Gets the field that is the last step of this variable with fields, if any.

For example, the field c for the variable with fields a.b.c.

Field getField()