So, in NC you'll be jailed for pulling your weapon on an attacker?
In your situation I doubt that very much. There were two aggressors which amounts to a disparity of force, plus the mitigating factor of a young child to defend.
Well done. You didn't have to shoot so you didn't shoot. It couldn't have turned out better. Do get some pepper spray. In this case, with your two attackers, it probably wouldn't have helped. But against one unarmed assailant, it can save you a lot of 'splainin and a mountain of attorney's fees.