fee71e7740
Feature/postprocessing * tests * passtest * fixshorttests * mosttests * improvingbasedockerfile * testspeeds * testing * host * canparallel * clean * passfullsuite * singlepagemax * test * findfeatures * findstables * tbls * tablestoo * tablestoo * lateraltests * tableloc * cleanup * inlinetable * childids * cleanup * tests
22 lines
353 B
Go
22 lines
353 B
Go
package documentstore
|
|
|
|
import (
|
|
"queryorchestration/internal/serviceconfig"
|
|
"queryorchestration/internal/serviceconfig/queue/documentinit"
|
|
)
|
|
|
|
type ConfigProvider interface {
|
|
serviceconfig.ConfigProvider
|
|
documentinit.ConfigProvider
|
|
}
|
|
|
|
type Service struct {
|
|
cfg ConfigProvider
|
|
}
|
|
|
|
func New(cfg ConfigProvider) *Service {
|
|
return &Service{
|
|
cfg,
|
|
}
|
|
}
|