diff options
Diffstat (limited to 'routers/dev/debug.go')
-rw-r--r-- | routers/dev/debug.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/dev/debug.go b/routers/dev/debug.go index 62022146ad..6ef40a6226 100644 --- a/routers/dev/debug.go +++ b/routers/dev/debug.go @@ -7,10 +7,10 @@ package dev import (
"net/http/pprof"
- "github.com/go-martini/martini"
+ "github.com/Unknwon/macaron"
)
-func RegisterDebugRoutes(r martini.Router) {
+func RegisterDebugRoutes(r *macaron.Macaron) {
r.Any("/debug/pprof/cmdline", pprof.Cmdline)
r.Any("/debug/pprof/profile", pprof.Profile)
r.Any("/debug/pprof/symbol", pprof.Symbol)
|