mirror of
https://github.com/golang/go
synced 2024-11-24 21:10:04 -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:
parent
e4389c1d30
commit
08f919f462
@ -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 < MaxOutstanding; i++ {
|
||||
go handle(clientRequests)
|
||||
|
Loading…
Reference in New Issue
Block a user