Example #1
0
File: mux.go Project: shopsmart/mux
func setCurrentRoute(r *http.Request, val interface{}) {
	context.Set(r, routeKey, val)
}
Example #2
0
File: mux.go Project: shopsmart/mux
func setVars(r *http.Request, val interface{}) {
	context.Set(r, varsKey, val)
}