I’m pretty sure his Mayberry name was Goober Beasley; he was Gomer Pyle’s cousin. (I like to visit Mayberry a LOT!)
You’d enjoy the Mayberry Days Festival in Mt. Airy, NC, then. There’s a real Snappy Lunch and a real Floyd’s Barbershop, among other landmarks from Andy Griffith’s childhood and young adulthood there. The Snappy Lunch certainly predates the tv series, it’s sort of a dive but the pork chop sandwiches on white bread rule, lol.
You are correct. Early on, the character was referred to as Goober Beasley, then later changed to Goober Pyle. For whatever reason, the writers changed the names of several recurring characters. Floyd the Barber's name was Floyd Lawson for most of the series, however, he was initially known as Floyd Colby. Hope Summers' character changed names several times - she was called Bertha Edwards, Clara Johnson, and Clara Edwards, along with other names.