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

uuid.NewV4() build error in url-shortener #1303

Closed
porteron opened this issue Jul 17, 2019 · 2 comments
Closed

uuid.NewV4() build error in url-shortener #1303

porteron opened this issue Jul 17, 2019 · 2 comments

Comments

@porteron
Copy link

uuid.NewV4() does not return two assignments, which is throwing an error upon build.

id, _ := uuid.NewV4()

Should be changed to:

id := uuid.NewV4()

https://github.com/kataras/iris/blob/master/_examples/tutorial/url-shortener/factory.go#L14

porteron added a commit to porteron/iris that referenced this issue Jul 17, 2019
… being thrown pertaining to uuid.NewV4() second assignment value . The uuid.NewV4() only has one value assignment. Removed the _
@porteron
Copy link
Author

porteron commented Jul 17, 2019

PR: #1304

@kataras
Copy link
Owner

kataras commented Jul 17, 2019

@kataras kataras closed this as completed Jul 17, 2019
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