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

Resolve go.uuid breaking API changes #2

Closed
bmaupin opened this issue Jan 10, 2018 · 0 comments
Closed

Resolve go.uuid breaking API changes #2

bmaupin opened this issue Jan 10, 2018 · 0 comments
Assignees
Labels

Comments

@bmaupin
Copy link
Owner

bmaupin commented Jan 10, 2018

go.uuid has recently introduced breaking changes in their API:

$ go get github.com/bmaupin/go-epub
# github.com/bmaupin/go-epub
../../../go/src/github.com/bmaupin/go-epub/epub.go:134:44: multiple-value uuid.NewV4() in single-value context

Possible solutions:

  • Lock dependencies to a specific tag/commit of go.uuid (e.g. 0633591)
    • I believe this will require checking in the vendor folder so that it will still work for users who are using go get instead of golang/dep
  • Update to the new go.uuid API (missdeer/go-epub@ed07f4e)
  • Switch to another UUID library (e.g. google/uuid)
    • google/uuid might be a more official UUID library (breaking changes handled better), but doesn't yet have a stable API
@bmaupin bmaupin added the bug label Jan 10, 2018
@bmaupin bmaupin self-assigned this Jan 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant