diff options
author | Justin Nuß <justin.nuss@hmmh.de> | 2014-07-04 11:41:43 +0200 |
---|---|---|
committer | Justin Nuß <justin.nuss@hmmh.de> | 2014-07-04 11:41:43 +0200 |
commit | a481672c5cec1efe8d4856b393e98775c55ad8bc (patch) | |
tree | 6fbedb5f9e385379c0f82023991564b4b16d57d2 /routers/debug/ignored.go | |
parent | 0820b24f0bea6a0ce2f9c035a581bcf829ad0e13 (diff) |
Add 'pprof' tag for enabling debugging
Diffstat (limited to 'routers/debug/ignored.go')
-rw-r--r-- | routers/debug/ignored.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/routers/debug/ignored.go b/routers/debug/ignored.go new file mode 100644 index 00000000..4ec49964 --- /dev/null +++ b/routers/debug/ignored.go @@ -0,0 +1,11 @@ +// +build !pprof
+
+package debug
+
+import (
+ "github.com/go-martini/martini"
+)
+
+func RegisterRoutes(r martini.Router) {
+ // do nothing
+}
|