Sure, Barney and Gomer cause their share of problems for Andy to solve. And Barney and Gomer don't always see eye to eye.
Still, Barney is the one who tries to show Gomer the ways of the world. As Gomer tells Barney, "You're so 'swave' and worldly. You know just about everything there is to know."
To that, Andy can only smile.