Files
query-orchestration/internal/text_extraction/service.go
T
Michael McGuinness 5b7160fe44 Merged in fature/jobs (pull request #34)
Job Collector

* createstructure

* mostupdatevalidation

* repocollectorupdate

* updateoutline

* updatevalidation

* scriptupdate

* cleanupdockerignore

* update

* collectorupdateapi
2025-01-23 14:56:20 +00:00

19 lines
254 B
Go

package textextraction
import "errors"
type Service struct {
}
func New() *Service {
return &Service{}
}
func (s *Service) IsValidVersion(v int32) error {
if v <= 0 {
return errors.New("document clean code version must be > 0")
}
return nil
}