Skip to content

Build error due to dependency API change: multiple-value uuid.NewV4() in single-value context #3

@frankli714

Description

@frankli714

While building Jaqen, I got the errors:

offers.go:92: multiple-value uuid.NewV4() in single-value context
socket.go:93: multiple-value uuid.NewV4() in single-value context

This appears to be due to an API change in the dependency: https://github.com/satori/go.uuid
NewV4() now returns an additional error value, changed in commit satori/go.uuid@0ef6afb

Build works when you change those two lines to accept a second value, for example: id, _ := uuid.NewV4()

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