Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I may be slow to respond.

digitalcraftsman

💭
I may be slow to respond.
View GitHub Profile
@digitalcraftsman
digitalcraftsman / main.go
Created Jun 9, 2015
Make net/http handler compatible with httprouter
View main.go
package api
import (
"net/http"
"github.com/gorilla/context"
"github.com/julienschmidt/httprouter"
)
// This rapper provides an easy interface to transform http handlers of
@digitalcraftsman
digitalcraftsman / README.md
Last active Aug 29, 2015
Goji - adding routes based on a map
View README.md