private TypeRec getTypeRec(GoType goType) {
		long offset = goType.getStructureContext().getStructureStart();
		TypeRec prevRec = typeOffsetIndex.get(offset);
		if (prevRec != null) {
			return prevRec;
		}
		String typeName = goType.getFullyQualifiedName();
		prevRec = typeNameIndex.get(typeName);
		if (prevRec != null) {
			prevRec.conflictCount++;
			typeName = typeName + ".conflict" + prevRec.conflictCount;
		}

		TypeRec newRec = new TypeRec();
		newRec.name = typeName;
		newRec.type = goType;

		typeOffsetIndex.put(offset, newRec);
		typeNameIndex.put(typeName, newRec);

		return newRec;
	}
Discovers available golang types

@param monitor {@link TaskMonitor}
@throws IOException if error reading data or cancelled
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoTypeManager.java