]> Cypherpunks repositories - gostls13.git/commitdiff
doc/effective_go.html: fixed the Request channel parameter
authorJongmin Kim <atomaths@gmail.com>
Fri, 13 Apr 2012 05:22:40 +0000 (15:22 +1000)
committerRob Pike <r@golang.org>
Fri, 13 Apr 2012 05:22:40 +0000 (15:22 +1000)
R=golang-dev, r
CC=golang-dev, gri
https://golang.org/cl/6010051

doc/effective_go.html

index 4382729c3c16bd3cc3d09d3a80691cd695577d00..6cacac6303a7e24225c82bcf48a637f968f436cd 100644 (file)
@@ -2479,7 +2479,7 @@ func handle(queue chan *Request) {
     }
 }
 
-func Serve(clientRequests chan *clientRequests, quit chan bool) {
+func Serve(clientRequests chan *Request, quit chan bool) {
     // Start handlers
     for i := 0; i &lt; MaxOutstanding; i++ {
         go handle(clientRequests)