1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:24:41 -07:00

websocket: fix a trivial example server

R=golang-dev, rsc, r
CC=golang-dev
https://golang.org/cl/5491063
This commit is contained in:
Olivier Duperray 2011-12-16 14:24:37 -08:00 committed by Rob Pike
parent bd9243da22
commit 32734f4664

View File

@ -74,7 +74,7 @@ A trivial example server:
http.Handle("/echo", websocket.Handler(EchoServer));
err := http.ListenAndServe(":12345", nil);
if err != nil {
panic("ListenAndServe: " + err.String())
panic("ListenAndServe: " + err.Error())
}
}
*/