mirror of
https://github.com/golang/go
synced 2024-11-15 02:40:32 -07:00
[release-branch.go1] doc/effective_go.html: fixed the Request channel parameter
««« backport 29acc3fb59c3 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
cd73d696d0
commit
e4806c2a18
@ -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