Skip to content

readme example problem  #180

Open
Open
@amirhoseinjfri

Description

@amirhoseinjfri

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions