can grab all queries required to fulfill a collector

This commit is contained in:
Michael McGuinness
2024-12-19 18:49:22 +00:00
parent 5221ca7fc7
commit 66fcc78887
141 changed files with 1917 additions and 1454 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ import (
"gotemplate/internal/queue"
"github.com/aws/aws-sdk-go-v2/service/sqs/types"
"github.com/google/uuid"
)
type DocumentController struct {
@@ -20,7 +21,7 @@ func NewDocumentController(svc document.Service) *DocumentController {
}
type DocumentQueryEvent struct {
ID string `json:"id"`
ID uuid.UUID `json:"id"`
}
func (s *DocumentController) Sync(ctx context.Context, config *queue.QueueConfig, msg *types.Message) error {