C
C
cascado2016-12-15 13:55:08
go
cascado, 2016-12-15 13:55:08

Why does panic: runtime error: invalid memory address or nil pointer dereference work, but separately?

Good afternoon. I compose the code from other sources, it works separately (reconnect separately, receive messages separately), in the final version I get panic: runtime error: invalid memory address or nil pointer dereference . Tell me what I'm doing wrong. I tried to debug, but the stone flower does not work for me. Tell me where to dig. I am attaching the code, thanks in advance. https://gist.github.com/cascad-s/d6613665a714c6f6f...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question