Files
query-orchestration/internal/document/service.go
T
Michael McGuinness 81e7223560 Merged in feature/textextraction (pull request #110)
Text Extraction

* bases

* go

* splitting

* structure

* movetoasync

* movetoasync

* settinguptrigger

* reorder

* storevent

* standardisepollingvalidation

* unittests

* fixlint

* fixlint

* awscfg

* generatesample

* followthrough

* tests

* clena

* store

* externalidcleanup

* clientid

* local

* baseunittests

* putobjecttests

* tests
2025-04-02 18:50:03 +00:00

36 lines
509 B
Go

package document
import (
"queryorchestration/internal/serviceconfig"
"github.com/google/uuid"
)
type Location struct {
Bucket string
Key string
}
type DocumentSummary struct {
ID uuid.UUID
ClientID string
Hash string
}
type DocumentExternal struct {
Id uuid.UUID
ClientID string
Hash string
Fields map[string]interface{}
}
type Service struct {
cfg serviceconfig.ConfigProvider
}
func New(cfg serviceconfig.ConfigProvider) *Service {
return &Service{
cfg,
}
}