Browse Source

Alias macron package in app_routes.go

...to make this file compatible with goimports:
https://godoc.org/golang.org/x/tools/cmd/goimports
Matt Bostock 8 years ago
parent
commit
a286ffa5f2
1 changed files with 1 additions and 2 deletions
  1. 1 2
      pkg/api/app_routes.go

+ 1 - 2
pkg/api/app_routes.go

@@ -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{