1
0
mirror of https://github.com/golang/go synced 2024-11-22 03:54:39 -07:00

doc/effective_go.html: fixed the Request channel parameter

R=golang-dev, r
CC=golang-dev, gri
https://golang.org/cl/6010051
This commit is contained in:
Jongmin Kim 2012-04-13 15:22:40 +10:00 committed by Rob Pike
parent e4389c1d30
commit 08f919f462

View 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 // Start handlers
for i := 0; i < MaxOutstanding; i++ { for i := 0; i < MaxOutstanding; i++ {
go handle(clientRequests) go handle(clientRequests)