diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-07-26 00:24:27 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-07-26 00:24:27 -0400 |
commit | 8dd07c0ddd99ae626a1ec8c06f75f27fed51269f (patch) | |
tree | 261d3c9911dabc58c1ac54e4e36b3dee24d2032b /routers/dev/debug.go | |
parent | 0a739cf9ac901f54484c34bba8322418dedb09b0 (diff) |
New UI merge in progress
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 62022146..6ef40a62 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)
|