feat(macaron): upgrades macaron version

This commit is contained in:
bergquist
2016-01-13 15:11:23 +01:00
parent 5de69b288f
commit 4fe72ebf69
163 changed files with 10334 additions and 6847 deletions
+3 -2
View File
@@ -3,11 +3,12 @@ package middleware
import (
"strings"
"github.com/Unknwon/macaron"
"gopkg.in/macaron.v1"
"github.com/go-macaron/gzip"
)
func Gziper() macaron.Handler {
macaronGziper := macaron.Gziper()
macaronGziper := gzip.Gziper()
return func(ctx *macaron.Context) {
requestPath := ctx.Req.URL.RequestURI()