code: func SingleVersionValidator(desiredVersion Version) VersionValidator {
  	return func(version Version) error {
  		if version == desiredVersion {
  			return nil
  		}
  
  		return ErrBadVersion{version}
  	}
  }
docs: // SingleVersionValidator returns a VersionValidator that returns nil
  // if its given version is equal to desiredVersion.