Green’s Dictionary of Slang

Godfrey n.

also Gadfrey

(orig. US) a euph. for God and used as such in various mild oaths, e.g. by Godfrey! Godfrey(’s) mighty!

[US]F.L. Olmsted A Journey Through Texas 14: By Godfrey [...] you ought not to have missed that.
C. Nordhoff Cape Cod and All Along Shore 16: Them thet’s got shall hev, ’nd, by Godfrey, them thet’s got luck kin hev anything else.
[US]G.D. Chase ‘Cape Cod Dialect’ in DN II:vi 425: godfrey! interj. An ejaculation. Also godfrey mighty, and godfrey Lijah.
[US]Van Loan ‘Won Off the Diamond’ in Lucky Seventh (2004) 281: No, suh! No, suh, by Godfrey!
[UK]Wodehouse Indiscretions of Archie Ch. ii: Mr. Brewster, having dwelt at adequate length on the contents of the chafing-dish, adjusted his glasses and took up the envelope. ‘I shall be glad — Great Godfrey!’.
J.C. Lincoln Cape Cod Yesterdays 69: ‘Godfrey’s mighty!’ he sighed fervently [DA].
[US]W. Faulkner Go Down Moses 20: O godfrey, Cass. O godfrey. [Ibid.] 113: I swear to godfrey, it’s a wonder we have as little trouble with them as we do.
[US]J. Archibald ‘Downed on the Farm’ in Ten Detective Aces Nov. 🌐 Got to git me a drink of hard cider first, by Godfrey!
[US](con. 1910s) J. Thompson Heed the Thunder (1994) 224: That’s right, by gadfrey! So he did.
[US]‘Weldon Hill’ Onionhead (1958) 251: By godfrey he didn’t think a good strong drink would be out of order.