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

Member predicate AccessPath::AccessPathToken::getName

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

string getName()