TestCountParams() — gin Function Reference
Architecture documentation for the TestCountParams() function in tree_test.go from the gin codebase.
Entity Profile
Relationship Graph
Source Code
tree_test.go lines 92–99
func TestCountParams(t *testing.T) {
if countParams("/path/:param1/static/*catch-all") != 2 {
t.Fail()
}
if countParams(strings.Repeat("/:param", 256)) != 256 {
t.Fail()
}
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free