0ac5ff9e15
Test Query * depstextandclean * startedcleaningresult * resulttidyup * roundone * cleaning * unsyncedquery * startedtestsandsimplification * api * querytests * resultprocessortests * unittests * cleanup
24 lines
311 B
Go
24 lines
311 B
Go
package result
|
|
|
|
import (
|
|
"queryorchestration/internal/database"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type Result struct {
|
|
ID uuid.UUID
|
|
QueryID uuid.UUID
|
|
QueryVersion int32
|
|
}
|
|
|
|
type Service struct {
|
|
db *database.Connection
|
|
}
|
|
|
|
func New(db *database.Connection) *Service {
|
|
return &Service{
|
|
db,
|
|
}
|
|
}
|