Closed halleyshx closed 5 years ago
Thanks for reporting!
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
assignment mismatch: 2 variables but uuid.NewV4 returns 1 value
@HFO4 Did you take a look on this? I've the same issue as @jmahc.
I'm on a Alpine 3.9 with a GO 1.12.5 and building it from the master branch. So Building from ec8034329501bd484dc02254c7ece5f5680902d7 works And from current master (d6ef6e92e437f994cef58efe1d8fff3d9d605914) does not work.
@shokinn @jmahc I‘ve already revert the previous commit, apology for not testing this!
@halleyshx Try to build with go version above 1.11?
@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.