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

@@ -8,14 +8,14 @@ import (
"os"
"sync"
"restic/errors"
"restic/fs"
"restic/hashing"
"github.com/restic/restic/internal/errors"
"github.com/restic/restic/internal/fs"
"github.com/restic/restic/internal/hashing"
"restic"
"restic/debug"
"restic/pack"
"restic/repository"
"github.com/restic/restic/internal"
"github.com/restic/restic/internal/debug"
"github.com/restic/restic/internal/pack"
"github.com/restic/restic/internal/repository"
)
// Checker runs various checks on a repository. It is advisable to create an

View File

@@ -8,11 +8,11 @@ import (
"sort"
"testing"
"restic"
"restic/archiver"
"restic/checker"
"restic/repository"
"restic/test"
"github.com/restic/restic/internal"
"github.com/restic/restic/internal/archiver"
"github.com/restic/restic/internal/checker"
"github.com/restic/restic/internal/repository"
"github.com/restic/restic/internal/test"
)
var checkerTestData = filepath.Join("testdata", "checker-test-repo.tar.gz")

View File

@@ -2,8 +2,9 @@ package checker
import (
"context"
"restic"
"testing"
"github.com/restic/restic/internal"
)
// TestCheckRepo runs the checker on repo.