From df704cd5faf0d0b396edc8d4d4544d0d68dc27ab Mon Sep 17 00:00:00 2001 From: Carl Jackson Date: Mon, 17 Mar 2014 01:41:02 -0700 Subject: [PATCH] TODOs So I don't forget. --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 20b9d28..b0df83e 100644 --- a/README.md +++ b/README.md @@ -46,3 +46,22 @@ Features [bind]: http://godoc.org/github.com/zenazn/goji/bind [graceful]: http://godoc.org/github.com/zenazn/goji/graceful [param]: http://godoc.org/github.com/zenazn/goji/param + + +Todo +---- + +Goji probably deserves a bit more love before anyone actually tries to use it. +Things that need doing include: + +* Support for omitting trailing slashes on routes which include them. +* Tests for `goji/web`. There are currently no tests. This probably means + `goji/web` is made of bugs. I'm sorry. +* Standard middleware implementations. I'm currently thinking: + * Request ID assigner: injects a request ID into the environment. + * Request logger: logs requests as they come in. Preferrably with request IDs + and maybe even with colors. + * Request timer: maybe part of the request logger. Time how long each request + takes and print it. Maybe with color. + * Error handler: recovers from panics, does something nice with the output. + * Healthcheck endpoint: Always returns OK.