in src/main/kotlin/org/jetbrains/tinygoplugin/inspections/libraries/TinyGoImportInspection.kt [128:135]
override fun visitType(type: GoType) {
super.visitType(type)
if (!project.tinyGoConfiguration().enabled || !customContextPredicate(type)) {
return
}
val resolvedType = unwrapPointerTypeIfNeeded(type) ?: return
checkType(resolvedType, type)
}