5c253b3592
Feature/docinit * createunittests * cleanup * skip * cleanup
26 lines
343 B
Go
26 lines
343 B
Go
package document
|
|
|
|
import (
|
|
"queryorchestration/internal/serviceconfig"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type Location = string
|
|
|
|
type Document struct {
|
|
ID uuid.UUID
|
|
JobID uuid.UUID
|
|
Hash string
|
|
}
|
|
|
|
type Service struct {
|
|
cfg serviceconfig.ConfigProvider
|
|
}
|
|
|
|
func New(cfg serviceconfig.ConfigProvider) *Service {
|
|
return &Service{
|
|
cfg,
|
|
}
|
|
}
|