Something that could take down an AC-130 is going to tear apart an A-10 just as easily. Inform yourself.
The A-10 has two engines, mounted close together, so likely something that takes out one will shred the other. It can continue to fly with no hydraulics and half a wing missing. From Wikipedia I cannot tell if we have ever lost one, and it shows 6 AC-130 losses, all in Vietnam.
The AC-130 is much larger, so is less likely to receive as significant damage from the same types of hits as a A-10. The engines are spread out, and there are four of them, providing increased survivability. The A-10 strafes, the AC-130 circles. The AC-130 is more accurate, as it always keeps its guns pointed on target.
It is your choice, but as the Airforce has repeatedly said they want to get rid of the old ass A-10 aircraft, maybe they know what they are talking about. The AC-130 has been actively being replaced as airframes get older. The A-10 was last produced in 1986. Would you rather fly an aircraft that is 20 years old or 5?