private String getFieldListString() throws IOException {
		StringBuilder sb = new StringBuilder();
		for (GoStructField field : getFields()) {
			if (!sb.isEmpty()) {
				sb.append("\n");
			}
			long offset = field.getOffset();
			long fieldSize = field.getType().getBaseType().getSize();
			sb.append("%s %s // %d..%d".formatted(field.getName(),
				field.getType().getName(), offset, offset + fieldSize));
		}
		return sb.toString();
	}
Returns the fields defined by this struct type.

@return list of fields defined by this struct type
@throws IOException if error reading
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/types/GoStructType.java