Goofy is not a dog biologically. He is an anthropomorphic cartoon character created by Art Babbitt for Disney in 1932 (originally "Dippy Dawg").
Goofy walks upright, speaks, wears clothes, drives, works jobs, and lives in a house—he's a humanoid figure with a long face, protruding jaw, and floppy ears. He's a personified character, not a member of Canis lupus familiaris.
Disney officially classifies him as a "funny animal" character type. The joke: Goofy owns a dog (Pluto).