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

Member predicate StructType::getFieldOfEmbedded

Gets a field of embeddedParent, which is then embedded into this struct type.

Field getFieldOfEmbedded(Field embeddedParent, string name, int depth, boolean isEmbedded)