siris icon indicating copy to clipboard operation
siris copied to clipboard

Build failure due to recent changes to satori/go.uuid project

Open AndreiPiakhota opened this issue 6 years ago • 0 comments

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.

AndreiPiakhota avatar Aug 17 '18 08:08 AndreiPiakhota