readme example problem
Author: amirhoseinjfriCreated Jun 24, 2023Updated Jun 26, 2023
hi in the readme example when i put defer c.Close() in anonymous function try to say user disconnected like this:
defer func(){
log.Println("dc")
c.Close()
}()nothing happen when user press disconnect or even when they lose connection . thanks
Source: gobwas/ws