code: func NewValidatorWithOpts(options Options) *Validator {
  	if options.MinLength <= 0 {
  		options.MinLength = 8
  	}
  	if options.MinDiff <= 0 {
  		options.MinDiff = 5
  	}
  	if options.MinDist < 0 {
  		options.MinDist = 3
  	}
  
  	return &Validator{
  		options:     options,
  		words:       make(map[string]struct{}),
  		hashedWords: make(map[string]string),
  	}
  }
docs: // NewValidatorWithOpts returns a new password validator with custom settings