chore: sort imports

This commit is contained in:
Michael 2017-11-08 11:40:04 +01:00 committed by Traefiker
parent 07c6e33598
commit e3131481e9
3 changed files with 7 additions and 4 deletions

View file

@ -1,8 +1,9 @@
package anonymize package anonymize
import ( import (
"github.com/stretchr/testify/assert"
"testing" "testing"
"github.com/stretchr/testify/assert"
) )
func Test_doOnJSON(t *testing.T) { func Test_doOnJSON(t *testing.T) {

View file

@ -3,8 +3,9 @@ package middlewares
//Middleware based on https://github.com/unrolled/secure //Middleware based on https://github.com/unrolled/secure
import ( import (
"github.com/containous/traefik/types"
"net/http" "net/http"
"github.com/containous/traefik/types"
) )
// HeaderOptions is a struct for specifying configuration options for the headers middleware. // HeaderOptions is a struct for specifying configuration options for the headers middleware.

View file

@ -3,11 +3,12 @@ package middlewares
//Middleware tests based on https://github.com/unrolled/secure //Middleware tests based on https://github.com/unrolled/secure
import ( import (
"github.com/containous/traefik/testhelpers"
"github.com/stretchr/testify/assert"
"net/http" "net/http"
"net/http/httptest" "net/http/httptest"
"testing" "testing"
"github.com/containous/traefik/testhelpers"
"github.com/stretchr/testify/assert"
) )
var myHandler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { var myHandler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {