public GoType findGoType(String typeName, String defaultTypeName) {
		typeName = resolveTypeNameAliases(typeName);
		TypeRec result = typeNameIndex.get(typeName);
		if (result == null) {
			String[] typeNameparts = splitTypeName(typeName);
			if (typeNameparts != null) {
				String typePrefix = typeNameparts[0];
				String subTypeName = typeNameparts[1];
				GoType subType = findGoType(subTypeName);
				if (subType != null) {
					String subTypeFQN = subType.getFullyQualifiedName();
					if (!subTypeName.equals(subTypeFQN)) {
						return findGoType(typePrefix + subTypeFQN);
					}
				}
			}
		}
		if (result == null) {
			missingGoTypes.add(typeName);
		}
		if (result == null && defaultTypeName != null) {
			typeNameIndex.get(defaultTypeName);
		}

		return result != null ? result.type : null;
	}
Finds a go type by its go-type name, from the list of discovered go types.
 
@param typeName name string
@return {@link GoType}, or null if not found
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoTypeManager.java