Skip to content
This repository was archived by the owner on Aug 17, 2018. It is now read-only.
This repository was 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

@AndreiPiakhota

Description

@AndreiPiakhota

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions