gin-gonic/gin — pull request #88 by alexandernyquist (2014-07-28 22:57:26+00:00)
Title: Added support for redirect

As per https://github.com/gin-gonic/gin/issues/84. I think this is the most flexible solution.

We could offer a Redirect(location string) which defaults to 302 and a RedirectCode(location string, code int). What do you think? I think people should be aware of what status code they are returning so the implemented solution is enough for me.