Randy A. Godshalk gave up his law license Feb. 27 after admitting he could not successfully defend himself against a pending misconduct allegation, records show.