- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for genChoice (0.13 sec)
-
src/net/http/routing_index_test.go
hosts = []string{"", "h1", "h2"} segs = []string{"/a", "/b", "/{x}"} finalSegs = []string{"/a", "/b", "/{f}", "/{m...}", "/{$}"} ) g := genConcat( genChoice(methods), genChoice(hosts), genStar(3, genChoice(segs)), genChoice(finalSegs)) g(collect) return pats } // A generator is a function that calls its argument with the strings that it // generates. type generator func(collect func(string))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 22:14:00 UTC 2024 - 4K bytes - Viewed (0)