Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not enough arguments in call to uuid.Must #10

Closed
semafor opened this issue Jan 15, 2018 · 4 comments
Closed

not enough arguments in call to uuid.Must #10

semafor opened this issue Jan 15, 2018 · 4 comments

Comments

@semafor
Copy link

semafor commented Jan 15, 2018

After bumping this lib with dep, I get the following error:

vendor/github.com/renstrom/shortuuid/shortuuid.go:21:40: not enough arguments in call to uuid.Must
	have (uuid.UUID)
	want (uuid.UUID, error)

Seems to affect v2.0.1

@lithammer
Copy link
Owner

This is related to #9 and satori/go.uuid#66.

@lithammer
Copy link
Owner

Since there's no released version of go.uuid that contains the changes in satori/go.uuid@0ef6afb. I've pinned it to 1.2, see #11.

@lithammer
Copy link
Owner

Try updating to v2.0.3.

@lithammer
Copy link
Owner

And make sure you pin github.com/satori/go.uuid to v1.2 as well.

@lithammer lithammer mentioned this issue Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants