TestTreeWildcardConflict() — gin Function Reference
Architecture documentation for the TestTreeWildcardConflict() function in tree_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 09fbae70_3384_be34_8652_fcc352dab615["TestTreeWildcardConflict()"] 95642d64_cc2a_14f0_a93c_52464b2a60b9["tree_test.go"] 09fbae70_3384_be34_8652_fcc352dab615 -->|defined in| 95642d64_cc2a_14f0_a93c_52464b2a60b9 2bc5b391_d4b7_b2bf_eab0_46c3c2074f43["testRoutes()"] 09fbae70_3384_be34_8652_fcc352dab615 -->|calls| 2bc5b391_d4b7_b2bf_eab0_46c3c2074f43 style 09fbae70_3384_be34_8652_fcc352dab615 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tree_test.go lines 394–429
func TestTreeWildcardConflict(t *testing.T) {
routes := []testRoute{
{"/cmd/:tool/:sub", false},
{"/cmd/vet", false},
{"/foo/bar", false},
{"/foo/:name", false},
{"/foo/:names", true},
{"/cmd/*path", true},
{"/cmd/:badvar", true},
{"/cmd/:tool/names", false},
{"/cmd/:tool/:badsub/details", true},
{"/src/*filepath", false},
{"/src/:file", true},
{"/src/static.json", true},
{"/src/*filepathx", true},
{"/src/", true},
{"/src/foo/bar", true},
{"/src1/", false},
{"/src1/*filepath", true},
{"/src2*filepath", true},
{"/src2/*filepath", false},
{"/search/:query", false},
{"/search/valid", false},
{"/user_:name", false},
{"/user_x", false},
{"/user_:name", false},
{"/id:id", false},
{"/id/:id", false},
{"/static/*file", false},
{"/static/", true},
{"/escape/test\\:d1", false},
{"/escape/test\\:d2", false},
{"/escape/test:param", false},
}
testRoutes(t, routes)
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does TestTreeWildcardConflict() do?
TestTreeWildcardConflict() is a function in the gin codebase, defined in tree_test.go.
Where is TestTreeWildcardConflict() defined?
TestTreeWildcardConflict() is defined in tree_test.go at line 394.
What does TestTreeWildcardConflict() call?
TestTreeWildcardConflict() calls 1 function(s): testRoutes.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free