Alias macron package in app_routes.go

...to make this file compatible with goimports:
https://godoc.org/golang.org/x/tools/cmd/goimports
This commit is contained in:
Matt Bostock 2017-09-28 11:14:12 +01:00
parent 43169e4302
commit a286ffa5f2

View File

@ -6,14 +6,13 @@ import (
"net/http" "net/http"
"time" "time"
"gopkg.in/macaron.v1"
"github.com/grafana/grafana/pkg/api/pluginproxy" "github.com/grafana/grafana/pkg/api/pluginproxy"
"github.com/grafana/grafana/pkg/log" "github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/middleware" "github.com/grafana/grafana/pkg/middleware"
m "github.com/grafana/grafana/pkg/models" m "github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/plugins" "github.com/grafana/grafana/pkg/plugins"
"github.com/grafana/grafana/pkg/util" "github.com/grafana/grafana/pkg/util"
macaron "gopkg.in/macaron.v1"
) )
var pluginProxyTransport = &http.Transport{ var pluginProxyTransport = &http.Transport{