code: func scanInt(reply interface{}, v *int) error {
  	if v == nil {
  		return fmt.Errorf("jobs: In scanInt: argument v was nil")
  	}
  	val, err := redis.Int(reply, nil)
  	if err != nil {
  		return fmt.Errorf("jobs: In scanInt: Could not convert %v of type %T to int.", reply, reply)
  	}
  	(*v) = val
  	return nil
  }
docs: // scanInt converts a reply from redis into an int and scans the value into v.