Description

In practice, most real-world routes have a string prefix that can be used to quickly determine if a pattern is an eligible match. The router uses the result of this function to optimize away calls to the full Match function, which is likely much more expensive to compute. If your Pattern does not support prefixes, this function should return the empty string.

Prefix is referenced in 1 repository

github.com/zenazn/goji