radix icon indicating copy to clipboard operation
radix copied to clipboard

Golang radix tree implementation

Results 3 radix issues
Sort by recently updated
recently updated
newest added

```go func TestRadixTree_trailingSlashBug(t *testing.T) { tree := radix.New(0) tree.Add("/test/:ok", 1) tree.SetBoundaries(':', '/') tree.Get("/test") // ok tree.Get("/test/") // panic } ```

Here's a test that illustrates the issue. Since `:page` and `:slug` are different they seem to cause an issue and the `node.Value` becomes `nil`. One could argue "well then don't...

Would you to add the Catch-All parameter like in [julienschmidt httprouter](https://github.com/julienschmidt/httprouter) ? ``` Pattern: /src/*filepath /src/ match /src/somefile.go match /src/subdir/somefile.go match ```