go routine to goroutine

Signed-off-by: Dalei Li <dalei.li@icloud.com>
This commit is contained in:
Dalei Li 2018-08-07 21:23:58 +02:00
parent bcbbc08eb2
commit 927ca8e4f4
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ func InstrumentHandlerFuncWithOpts(opts SummaryOpts, handlerFunc func(http.Respo
}
func computeApproximateRequestSize(r *http.Request) <-chan int {
// Get URL length in current go routine for avoiding a race condition.
// Get URL length in current goroutine for avoiding a race condition.
// HandlerFunc that runs in parallel may modify the URL.
s := 0
if r.URL != nil {