Procházet zdrojové kódy

Merge pull request #59 from gansidui/master

Fix typo in comment
Gary Burd před 10 roky
rodič
revize
ecff5aabe4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      conn.go

+ 1 - 1
conn.go

@@ -801,7 +801,7 @@ func (c *Conn) SetPingHandler(h func(string) error) {
 	c.handlePing = h
 }
 
-// SetPongHandler sets then handler for pong messages received from the peer.
+// SetPongHandler sets the handler for pong messages received from the peer.
 // The default pong handler does nothing.
 func (c *Conn) SetPongHandler(h func(string) error) {
 	if h == nil {