]> Cypherpunks repositories - gostls13.git/commit
net/http: explain why two patterns conflict
authorJonathan Amsterdam <jba@google.com>
Tue, 19 Sep 2023 11:54:09 +0000 (07:54 -0400)
committerJonathan Amsterdam <jba@google.com>
Tue, 19 Sep 2023 18:35:44 +0000 (18:35 +0000)
commitad42fedda5f8a1d398d5d9cf6114f85635b49998
tree01717be39fb344381075e55066569f2d919d97c9
parentbe11422b1ec46fb69b387ef29a521ed42621fe3d
net/http: explain why two patterns conflict

It can be difficult to tell at a glance why two patterns conflict, so
explain it with example paths.

Change-Id: Ie384f0a4ef64f30e6e6898bce4b88027bc81034b
Reviewed-on: https://go-review.googlesource.com/c/go/+/529122
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/net/http/pattern.go
src/net/http/pattern_test.go
src/net/http/server.go