We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb92580 commit cd94665Copy full SHA for cd94665
examples/chat/hub.go
@@ -4,7 +4,7 @@
4
5
package main
6
7
-// hub maintains the set of active clients and broadcasts messages to the
+// Hub maintains the set of active clients and broadcasts messages to the
8
// clients.
9
type Hub struct {
10
// Registered clients.
proxy.go
@@ -14,7 +14,7 @@ import (
14
"strings"
15
)
16
17
-type netDialerFunc func(netowrk, addr string) (net.Conn, error)
+type netDialerFunc func(network, addr string) (net.Conn, error)
18
19
func (fn netDialerFunc) Dial(network, addr string) (net.Conn, error) {
20
return fn(network, addr)
0 commit comments