all: reorganise imports #1532

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+23 −11
Split
@@ -4,8 +4,9 @@
package annotations_test
import (
- gc "gopkg.in/check.v1"
"testing"
+
+ gc "gopkg.in/check.v1"
)
func TestAll(t *testing.T) {
@@ -4,8 +4,9 @@
package charms_test
import (
- gc "gopkg.in/check.v1"
"testing"
+
+ gc "gopkg.in/check.v1"
)
func TestAll(t *testing.T) {
@@ -4,9 +4,10 @@
package main
import (
+ "strings"
+
jc "github.com/juju/testing/checkers"
gc "gopkg.in/check.v1"
- "strings"
"github.com/juju/cmd"
"github.com/juju/juju/cmd/envcmd"
@@ -6,6 +6,7 @@ package main
import (
"errors"
"fmt"
+
"launchpad.net/gnuflag"
"github.com/juju/cmd"
@@ -6,6 +6,7 @@ package main
import (
"errors"
"fmt"
+
"launchpad.net/gnuflag"
"github.com/juju/cmd"
@@ -6,6 +6,7 @@ package main
import (
"errors"
"fmt"
+
"launchpad.net/gnuflag"
"github.com/juju/cmd"
@@ -4,9 +4,10 @@
package block_test
import (
- gc "gopkg.in/check.v1"
"strings"
+ gc "gopkg.in/check.v1"
+
"github.com/juju/cmd"
"github.com/juju/errors"
jc "github.com/juju/testing/checkers"
@@ -4,9 +4,10 @@
package block_test
import (
- gc "gopkg.in/check.v1"
stdtesting "testing"
+ gc "gopkg.in/check.v1"
+
"github.com/juju/juju/cmd/juju/block"
"github.com/juju/juju/testing"
)
@@ -8,12 +8,13 @@ import (
gc "gopkg.in/check.v1"
"gopkg.in/juju/charm.v4"
+ "strings"
+
"github.com/juju/cmd"
"github.com/juju/juju/cmd/envcmd"
jujutesting "github.com/juju/juju/juju/testing"
"github.com/juju/juju/testcharms"
"github.com/juju/juju/testing"
- "strings"
)
type ExposeSuite struct {
@@ -4,9 +4,10 @@
package main
import (
+ "strings"
+
jc "github.com/juju/testing/checkers"
gc "gopkg.in/check.v1"
- "strings"
"github.com/juju/cmd"
View
@@ -17,6 +17,7 @@ import (
gc "gopkg.in/check.v1"
"fmt"
+
"github.com/juju/juju/agent"
agenttools "github.com/juju/juju/agent/tools"
apirsyslog "github.com/juju/juju/api/rsyslog"
View
@@ -8,9 +8,9 @@
package provider
const (
- Joyent = "joyent"
- Local = "local"
- MAAS = "maas"
+ Joyent = "joyent"
+ Local = "local"
+ MAAS = "maas"
)
// IsManual returns true iff the specified provider
@@ -5,12 +5,13 @@ package upgrades
import (
"fmt"
- "github.com/juju/errors"
"os"
"os/user"
"path/filepath"
"strconv"
+ "github.com/juju/errors"
+
"github.com/juju/utils/symlink"
"github.com/juju/juju/agent"