GetGreet finds a particular greet by ID (GET "/greets/\d+"). Does no bounds checking, so will probably panic.
goji.Get("/users/:name", GetUser) // Goji also supports regular expressions with named capture groups. goji.Get(regexp.MustCompile(`^/greets/(?P
\d+)$`), GetGreet) // Middleware can be used to inject behavior into your app. The