What's the meaning & exact spelling of the word "goomba"?

I didn’t realize that. I assume that’s cognate with the Spanish compadre, literally, the godfather of your child (hence your “co-father”); colloquialy, a close pal. Often shortened, at least around here, to just “Compa’!”