Skip to content
This repository has been archived by the owner on Aug 17, 2018. It is now read-only.

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

Open
AndreiPiakhota opened this issue Aug 17, 2018 · 0 comments
Open

Comments

@AndreiPiakhota
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant