siris
siris copied to clipboard
Build failure due to recent changes to satori/go.uuid project
I'm submitting a bug report. SHOWSTOPPER
- What is the current behavior?
Build failure when trying to build my project which has go-siris as dependency.
vendor\github.com\go-siris\siris\core\errors\errors.go:35:22: multiple-value uuid.NewV4() in single-value context
The failure is caused by recent updates to satori/go.uuid project .
func NewV4() (UUID, error) {
return global.NewV4()
}
So now this function returns multiple values and this becomes inconsistent with current implementation in errors.go file of go-siris project
func New(errMsg string) Error {
return Error{
ID: uuid.NewV4().String(),
Message: Prefix + errMsg,
}
}
Could you, please, fix it. It seems easy fix.