code: func CloseAll(objs ...interface{}) ([]error, error) {
  	logrus.DefaultLogger().Debugf("safeclose.CloseAll() is DEPRECATED! Please use safeclose.Close() instead")
  
  	errs := make([]error, len(objs))
  
  	for i, obj := range objs {
  		errs[i] = Close(obj)
  	}
  
  	for _, err := range errs {
  		if err != nil {
  			return errs, CloseErrors(errs)
  		}
  	}
  
  	return errs, nil
  }
docs: // CloseAll tries to close all objects and return all errors (there are nils if there was no errors).
  // DEPRECATED - use safeclose.Close(...) instead