|
@@ -115,9 +115,9 @@ func (s ServeMux) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|
mParams.Lock()
|
|
mParams.Lock()
|
|
for _, p := range rs[0] {
|
|
for _, p := range rs[0] {
|
|
if _, ok := mParams.list[r]; !ok {
|
|
if _, ok := mParams.list[r]; !ok {
|
|
- mParams.list[r] = []Param{{value: p}}
|
|
|
|
|
|
+ mParams.list[r] = []Param{{Value: p}}
|
|
} else {
|
|
} else {
|
|
- mParams.list[r] = append(mParams.list[r], Param{value: p})
|
|
|
|
|
|
+ mParams.list[r] = append(mParams.list[r], Param{Value: p})
|
|
}
|
|
}
|
|
select {
|
|
select {
|
|
case <-r.Context().Done():
|
|
case <-r.Context().Done():
|