code: func ConvertEvents(ctx context.Context, appl application.Application, request *http.Request, eventList []event.Event, wiID uuid.UUID) ([]*app.Event, error) {
  	var ls = []*app.Event{}
  	for _, i := range eventList {
  		converted, err := ConvertEvent(ctx, appl, request, i, wiID)
  		if err != nil {
  			return nil, errs.Wrapf(err, "failed to convert event: %+v", i)
  		}
  		ls = append(ls, converted)
  	}
  	return ls, nil
  }
docs: // ConvertEvents from internal to external REST representation