Actually the granddaddy of the A-10 is (pick according to your perspective): The P-47, Il-2/Il-10,, Typhoon, or B-25 solid nose with 75mm cannon.
The P-38 was a good ground attack aircraft from the perspective of payload, but it has far too vulnerable to ground fire because of the liquid...