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

Member predicate FieldDecl::getDeclaringType

Gets the struct type to which this field declaration belongs.

StructType getDeclaringType()