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

Member predicate AccessPath::AccessPathToken::getName

Gets the name of the token, such as Member from Member[x]

string getName()