In Pokémon Shiny Gold, you get Whirlpool from Lance. After you defeat the Rockets in Mahogany Town, he hands you a Clamperl that already knows the move Whirlpool, so you can start using it right away.