(typeName string)
| 1260 | } |
| 1261 | |
| 1262 | func extractBaseType(typeName string) string { |
| 1263 | if idx := strings.Index(typeName, "("); idx >= 0 { |
| 1264 | return strings.TrimSpace(typeName[:idx]) |
| 1265 | } |
| 1266 | return typeName |
| 1267 | } |
| 1268 | |
| 1269 | func requiresUsingForSameType(oldType, newType string) bool { |
| 1270 | oldBaseType := extractBaseType(oldType) |
no outgoing calls
no test coverage detected