We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In current implementation of uuid.Parse for all default cases uuid, invalidLengthError{len(s)} is returned.
uuid, invalidLengthError{len(s)}
Thus the returned response is not treated as error if not read correctly when used as an import
An immediate fix suggestion: return the following for default uuid length case. :
return uuid, errors.New(invalidLengthError{len(s)}.Error())
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In current implementation of uuid.Parse for all default cases
uuid, invalidLengthError{len(s)}
is returned.Thus the returned response is not treated as error if not read correctly when used as an import
An immediate fix suggestion: return the following for default uuid length case. :
return uuid, errors.New(invalidLengthError{len(s)}.Error())
The text was updated successfully, but these errors were encountered: