From 2223587fc0bd9a79d592cf657b34672f3fb7d989 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Sat, 3 Jun 2017 14:56:25 +0200 Subject: [PATCH] refactor: ordering imports. --- mocks/Marathon.go | 11 ++++++----- provider/marathon/marathon_test.go | 3 +-- provider/string_util_test.go | 3 ++- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/mocks/Marathon.go b/mocks/Marathon.go index bfe9329fa..bde9b1942 100644 --- a/mocks/Marathon.go +++ b/mocks/Marathon.go @@ -1,11 +1,12 @@ package mocks -import "github.com/gambol99/go-marathon" -import "github.com/stretchr/testify/mock" +import ( + "net/url" + "time" -import "net/url" - -import "time" + "github.com/gambol99/go-marathon" + "github.com/stretchr/testify/mock" +) // Marathon is a mock of marathon.Marathon type Marathon struct { diff --git a/provider/marathon/marathon_test.go b/provider/marathon/marathon_test.go index ba1fec5dd..b0056ebd0 100644 --- a/provider/marathon/marathon_test.go +++ b/provider/marathon/marathon_test.go @@ -2,11 +2,10 @@ package marathon import ( "errors" + "fmt" "reflect" "testing" - "fmt" - "github.com/containous/traefik/mocks" "github.com/containous/traefik/testhelpers" "github.com/containous/traefik/types" diff --git a/provider/string_util_test.go b/provider/string_util_test.go index 131d18e73..5b8c6854d 100644 --- a/provider/string_util_test.go +++ b/provider/string_util_test.go @@ -1,8 +1,9 @@ package provider import ( - "github.com/stretchr/testify/assert" "testing" + + "github.com/stretchr/testify/assert" ) func TestSplitAndTrimString(t *testing.T) {