codegangsta/martini — pull request #203 by mvader (2014-03-17 17:09:32+00:00)
Title: Added groups

Allow the addition of related routes through groups.

```go
m.Group("/books", func(r Router) {
r.Get("/:id", GetBooks)
r.Post("/new", NewBook)
r.Put("/update/:id", UpdateBook)
r.Delete("/delete/:id", DeleteBook)
}, UserIsLoggedIn, PrepareBooks, ServeCoffee)
```
Instead of:

```go
m.Get("/books/:id", UserIsLoggedIn, PrepareBooks, ServeCoffee, GetBooks)
m.Post("/books/new", UserIsLoggedIn, PrepareBooks, ServeCoffee, GetBooks)
m.Put("/books/update/:id", UserIsLoggedIn, PrepareBooks, ServeCoffee, GetBooks)
m.Delete("/books/delete/:id", UserIsLoggedIn, PrepareBooks, ServeCoffee, GetBooks)
```