The exterior of most guitar cases is covered in non-porous vinyl material. Mold and mildew can be removed from the surface with warm water mixed with a mild detergent such as dish, laundry or car wash soap. You'll want to mix the solution with plenty of suds to avoid excess water while cleaning.
How do you clean the inside of a hardshell guitar case?
Lightly wet a clean, soft cloth in a mix of warm water and a bit of dish soap. Then thoroughly wipe the case down, giving a bit of extra elbow grease to any particularly offensive areas. When satisfied, use a clean, dry cloth to dry the case or gig bag and you're on your way.
How do you remove mold from covers?
It's very important to use white vinegar, not apple cider vinegar. Spray the affected areas thoroughly and scrub gently with a soft bristled brush. Let the fabric dry completely outside in the sun. Repeat this process as necessary to completely remove the mold and mildew spores.