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
server/server.go:44:12: assignment mismatch: 1 variable but uuid.NewV4 returns 2 values #9
Comments
Thanks for reporting! |
No thanks,:blush: |
What version of golang was this not working for? |
I am on 1.12.5 and had to revert the change because I was getting
|
@shokinn @jmahc @halleyshx |
@HFO4 Sorry,I forgot. Maybe it was go1.12.4 |
go build -o gbdotlive main.go
# github.com/HFO4/gbc-in-cloud/server
server/server.go:44:12: assignment mismatch: 1 variable but uuid.NewV4 returns 2 values
in the server/server.go
PlayerID := uuid.NewV4()
I change the return like this:
PlayerID, _ := uuid.NewV4()
It worked.
The text was updated successfully, but these errors were encountered: