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

@@ -4,8 +4,8 @@ import (
"net/url"
"strings"
"restic/errors"
"restic/options"
"github.com/restic/restic/internal/errors"
"github.com/restic/restic/internal/options"
)
// Config contains all configuration necessary to connect to a REST server.

View File

@@ -9,15 +9,16 @@ import (
"net/http"
"net/url"
"path"
"restic"
"strings"
"github.com/restic/restic/internal"
"golang.org/x/net/context/ctxhttp"
"restic/debug"
"restic/errors"
"github.com/restic/restic/internal/debug"
"github.com/restic/restic/internal/errors"
"restic/backend"
"github.com/restic/restic/internal/backend"
)
// make sure the rest backend implements restic.Backend

View File

@@ -7,13 +7,14 @@ import (
"net/url"
"os"
"os/exec"
"restic"
"testing"
"time"
"restic/backend/rest"
"restic/backend/test"
. "restic/test"
"github.com/restic/restic/internal"
"github.com/restic/restic/internal/backend/rest"
"github.com/restic/restic/internal/backend/test"
. "github.com/restic/restic/internal/test"
)
func runRESTServer(ctx context.Context, t testing.TB, dir string) func() {