StructExpr
StructExpr describes a struct creation expression.
Methods
Section titled “Methods”fields()
Section titled “fields()”fields():
EntryExpr[]
Fields returns the set of field initializers in the struct expression as EntryExpr values.
Returns
Section titled “Returns”typeName()
Section titled “typeName()”typeName():
string
TypeName returns the struct type name.
Returns
Section titled “Returns”string