Patch from @jcw9930

See https://github.com/buger/gor/pull/127#issuecomment-64538157