private GoType readType(long offset) throws IOException {
		Class<? extends GoType> typeClass = GoType.getSpecializedTypeClass(goBinary, offset);
		GoType goType = goBinary.readStructure(typeClass, offset);
		return goType;
	}
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