소스 검색

Merge pull request #45 from attilaolah/patch-1

Fix typo in conn.go
Gary Burd 11 년 전
부모
커밋
79b87dd5c7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      conn.go

+ 1 - 1
conn.go

@@ -520,7 +520,7 @@ func (c *Conn) WriteMessage(messageType int, data []byte) error {
 // SetWriteDeadline sets the write deadline on the underlying network
 // connection. After a write has timed out, the websocket state is corrupt and
 // all future writes will return an error. A zero value for t means writes will
-// not time out
+// not time out.
 func (c *Conn) SetWriteDeadline(t time.Time) error {
 	c.writeDeadline = t
 	return nil