fix(build): fixed dependency and build issue

This commit is contained in:
Torkel Ödegaard
2016-01-13 15:38:54 +01:00
parent 4fe72ebf69
commit bdb67d4909
15 changed files with 529 additions and 9 deletions
+1 -1
View File
@@ -20,9 +20,9 @@ import (
"net/http"
"time"
"gopkg.in/macaron.v1"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/setting"
"gopkg.in/macaron.v1"
)
func Logger() macaron.Handler {
+2 -2
View File
@@ -7,13 +7,13 @@ import (
"path/filepath"
"testing"
"gopkg.in/macaron.v1"
"github.com/go-macaron/session"
"github.com/grafana/grafana/pkg/bus"
m "github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/setting"
"github.com/grafana/grafana/pkg/util"
"github.com/macaron-contrib/session"
. "github.com/smartystreets/goconvey/convey"
"gopkg.in/macaron.v1"
)
func TestMiddlewareContext(t *testing.T) {
+1 -1
View File
@@ -3,11 +3,11 @@ package middleware
import (
"fmt"
"gopkg.in/macaron.v1"
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/log"
m "github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/setting"
"gopkg.in/macaron.v1"
)
func Quota(target string) macaron.Handler {
+1 -1
View File
@@ -3,12 +3,12 @@ package middleware
import (
"time"
"gopkg.in/macaron.v1"
"github.com/go-macaron/session"
_ "github.com/go-macaron/session/memcache"
_ "github.com/go-macaron/session/mysql"
_ "github.com/go-macaron/session/postgres"
_ "github.com/go-macaron/session/redis"
"gopkg.in/macaron.v1"
)
const (
+1 -1
View File
@@ -3,8 +3,8 @@ package middleware
import (
"strings"
"gopkg.in/macaron.v1"
"github.com/go-macaron/gzip"
"gopkg.in/macaron.v1"
)
func Gziper() macaron.Handler {