code: func newScanIntHandler(i *int) replyHandler {
  	return func(reply interface{}) error {
  		if i == nil {
  			return fmt.Errorf("jobs: Error in newScanIntHandler: expected arg s to be a pointer to a string but it was nil")
  		}
  		var err error
  		(*i), err = redis.Int(reply, nil)
  		if err != nil {
  			return fmt.Errorf("jobs: Error in newScanIntHandler: %s", err.Error())
  		}
  		return nil
  	}
  }
docs: // newScanIntHandler returns a replyHandler which, when run, will convert reply to a
  // int and scan it into i.