Question: are slimes attracted to snow golems?
Answer: Snow golems are capable of opening (trap)doors and will do so to get to a hostile mob. They never attack wolves, ghasts, slimes, magma cubes or the Ender dragon, even if they're hostile.