stretchr / goweb

A lightweight RESTful web framework for Go
632 stars 61 forks source link

Support `***/something` paths #53

Closed matryer closed 10 years ago

matryer commented 10 years ago

Allow wildcard prefixes in paths.

matryer commented 10 years ago

We should also support paths like these:

Any path that contains the people segment: * * * /people/ * * *

Any path that contians something, then 0-x number of path segments, then an ending else segment. * * * /something/ * * */else

NOTE: * * * has spaces to prevent formatting

matryer commented 10 years ago

Started in branch issues/53

matryer commented 10 years ago

This is tricky - @tylerb fancy having a go?

tylerstillwater commented 10 years ago

I'll look at it.

matryer commented 10 years ago

I tried to nail this but it was too hard :(

On 30 Sep 2013, at 09:10, Tyler notifications@github.com wrote:

I'll look at it.

— Reply to this email directly or view it on GitHub.

tylerstillwater commented 10 years ago

.... that's what she said?

matryer commented 10 years ago

+1 point for @tylerb