81e7223560
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
24 lines
460 B
Go
24 lines
460 B
Go
package documentstore
|
|
|
|
import (
|
|
"queryorchestration/internal/serviceconfig"
|
|
"queryorchestration/internal/serviceconfig/queue/documentinit"
|
|
"queryorchestration/internal/serviceconfig/queue/documenttextprocess"
|
|
)
|
|
|
|
type ConfigProvider interface {
|
|
serviceconfig.ConfigProvider
|
|
documentinit.ConfigProvider
|
|
documenttextprocess.ConfigProvider
|
|
}
|
|
|
|
type Service struct {
|
|
cfg ConfigProvider
|
|
}
|
|
|
|
func New(cfg ConfigProvider) *Service {
|
|
return &Service{
|
|
cfg,
|
|
}
|
|
}
|