Files
query-orchestration/internal/document/clean/service.go
T
Michael McGuinness b16ff55afa Merged in feature/document (pull request #36)
Document CRUD

* doccreate

* dochashlocandget

* depsandtodo
2025-01-24 16:12:25 +00:00

19 lines
253 B
Go

package documentclean
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
}