java.lang.Object
ghidra.app.util.bin.format.golang.rtti.GoName
All Implemented Interfaces:
StructureMarkup<GoName>, StructureReader<GoName>

public class GoName extends Object implements StructureReader<GoName>, StructureMarkup<GoName>
Represents a golang "name" construct, which isn't represented in go as a normal structure since it is full of variable length and optional fields.
 struct {
        byte flag;
        varint strlen;
        char[strlen] chars; 
        (optional: varint tag_strlen; char [tag_strlen];)
        (optional: int32 pkgpath)
 }
 
Because this type has variable length fields (@FieldOutput(isVariableLength=true)), there will be unique structure data types produced for each size combination of a GoName structure, and will be named "GoName_N_M", where N and M are the lengths of the variable fields [name, tag]