can grab all queries required to fulfill a collector
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user