heroku-examples / go-websocket-chat-demo

102 stars 49 forks source link

Verify on startup that redis url is set #5

Closed ottob closed 7 years ago

freeformz commented 7 years ago

Doesn't redis.NewRedisPoolFromURL("") return an error?

ottob commented 7 years ago

No.

I added a Println in chat.go:49 and this is what i got. And nothing happened when I tried to submit a message.

go build && PORT=8081 ./go-websocket-chat-demo 
socket open
freeformz commented 7 years ago

Thanks!