Merged in feature/shorttestsanddirtidy (pull request #26)

Add short tests and Tidy internal directories

* complete the tasks
This commit is contained in:
Michael McGuinness
2025-01-17 12:00:32 +00:00
parent b453f6cb23
commit fa95d733ca
84 changed files with 171 additions and 101 deletions
+1 -1
View File
@@ -1,8 +1,8 @@
package queryservice
import (
"queryorchestration/internal/collector"
"queryorchestration/internal/export"
"queryorchestration/internal/job/collector"
"queryorchestration/internal/query"
"github.com/go-playground/validator/v10"
+1 -1
View File
@@ -3,7 +3,7 @@ package queryservice
import (
"errors"
"queryorchestration/internal/query"
queryprocessor "queryorchestration/internal/queryProcessor"
queryprocessor "queryorchestration/internal/query/processor"
)
func parseQueries(queries []*query.Query) ([]Query, error) {
+1 -1
View File
@@ -2,7 +2,7 @@ package queryservice
import (
"queryorchestration/internal/query"
queryprocessor "queryorchestration/internal/queryProcessor"
queryprocessor "queryorchestration/internal/query/processor"
"testing"
"github.com/google/uuid"
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"net/http"
"queryorchestration/internal/query"
queryprocessor "queryorchestration/internal/queryProcessor"
queryprocessor "queryorchestration/internal/query/processor"
"github.com/google/uuid"
"github.com/labstack/echo/v4"