An exclamation or oath, likely a variation of 'gazooks,' an old-fashioned expression of surprise or shock.
Possibly derived from 'God's' combined with other elements, similar to oaths like 'egads' or 'gadzoooks.' It's an archaic English interjection used for emphasis.
This is practically a disappeared word—it was already falling out of use by the 1800s, but when authors did use it, it was to make characters sound old-fashioned or comical!
Complete word intelligence in one call. Free tier — 50 lookups/day.