zishang520/socket.io

join not working

m2faridi opened this issue · 2 comments

This code has an error

			strRoom := fmt.Sprintf("user_%d", 1234)
			client.Join(Room)

@m2faridi Hello, could you please copy and paste your error message?

hi @zishang520
fix with this code
strRoom := fmt.Sprintf("user_%d", 1234) client.Join(socket.Room(strRoom))