httprouter icon indicating copy to clipboard operation
httprouter copied to clipboard

Question about the description of prefix tree in README

Open Q1mi opened this issue 3 years ago • 1 comments

Priority   Path             Handle
9          \                *<1>
3          ├s               nil
2          |├earch\         *<2>
1          |└upport\        *<3>
2          ├blog\           *<4>
1          |    └:post      nil
1          |         └\     *<5>
2          ├about-us\       *<6>
1          |        └team\  *<7>
1          └contact\        *<8>

why the priority of paths is 3 here ? i think there are only two handles( *<2> and *<3>) registered here,did I miss something?

Q1mi avatar Nov 27 '20 03:11 Q1mi

The s priority is 2, the doc is error, you can try it.

Fov6363 avatar Jan 17 '22 12:01 Fov6363