Run goimports

This commit is contained in:
Alexander Neumann
2017-07-23 14:21:03 +02:00
parent 83d1a46526
commit 6caeff2408
158 changed files with 524 additions and 438 deletions

View File

@@ -2,9 +2,10 @@ package swift
import (
"os"
"restic/errors"
"restic/options"
"strings"
"github.com/restic/restic/internal/errors"
"github.com/restic/restic/internal/options"
)
// Config contains basic configuration needed to specify swift location for a swift server

View File

@@ -7,13 +7,14 @@ import (
"net/http"
"path"
"path/filepath"
"restic"
"restic/backend"
"restic/debug"
"restic/errors"
"strings"
"time"
"github.com/restic/restic/internal"
"github.com/restic/restic/internal/backend"
"github.com/restic/restic/internal/debug"
"github.com/restic/restic/internal/errors"
"github.com/ncw/swift"
)

View File

@@ -4,15 +4,16 @@ import (
"context"
"fmt"
"os"
"restic"
"testing"
"time"
"restic/errors"
. "restic/test"
"github.com/restic/restic/internal"
"restic/backend/swift"
"restic/backend/test"
"github.com/restic/restic/internal/errors"
. "github.com/restic/restic/internal/test"
"github.com/restic/restic/internal/backend/swift"
"github.com/restic/restic/internal/backend/test"
)
func newSwiftTestSuite(t testing.TB) *test.Suite {