]> Cypherpunks repositories - gostls13.git/commit
net/http: pattern.conflictsWith
authorJonathan Amsterdam <jba@google.com>
Fri, 8 Sep 2023 12:58:29 +0000 (08:58 -0400)
committerJonathan Amsterdam <jba@google.com>
Tue, 12 Sep 2023 17:45:33 +0000 (17:45 +0000)
commit3602465954016ea1daef407764a7e4f23ab1c198
tree295594412582514809b4fd999e122664fa6a6286
parent4f9fe6d50965020053ab80bf115f08070ce97f33
net/http: pattern.conflictsWith

Add the conflictsWith method, which determines whether two patterns
conflict with each other.

Updates #61410.

Change-Id: Id4f9a471dc9d0420d927a68d2864128a096b74f4
Reviewed-on: https://go-review.googlesource.com/c/go/+/526616
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Eli Bendersky <eliben@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