...
|
...
|
@@ -161,7 +161,7 @@ func (repo *EvaluationCycleRepository) Find(queryOptions map[string]interface{}) |
|
|
if err != nil {
|
|
|
return 0, nil, err
|
|
|
}
|
|
|
var arrays []*domain.EvaluationCycle
|
|
|
arrays := make([]*domain.EvaluationCycle, 0)
|
|
|
for _, v := range m {
|
|
|
d := repo.TransformToDomain(v)
|
|
|
arrays = append(arrays, &d)
|
...
|
...
|
@@ -212,7 +212,7 @@ func (repo *EvaluationCycleRepository) FindCycleEnd(limit int) ([]*domain.Evalua |
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
var arrays []*domain.EvaluationCycle
|
|
|
arrays := make([]*domain.EvaluationCycle, 0)
|
|
|
for _, v := range m {
|
|
|
d := repo.TransformToDomain(v)
|
|
|
arrays = append(arrays, &d)
|
...
|
...
|
|