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

@@ -5,8 +5,8 @@ import (
"path"
"strings"
"restic/errors"
"restic/options"
"github.com/restic/restic/internal/errors"
"github.com/restic/restic/internal/options"
)
// Config collects all information required to connect to an sftp server.

View File

@@ -4,10 +4,11 @@ import (
"context"
"fmt"
"path/filepath"
"restic"
"restic/backend/sftp"
. "restic/test"
"testing"
"github.com/restic/restic/internal"
"github.com/restic/restic/internal/backend/sftp"
. "github.com/restic/restic/internal/test"
)
func TestLayout(t *testing.T) {

View File

@@ -8,14 +8,15 @@ import (
"os"
"os/exec"
"path"
"restic"
"strings"
"time"
"restic/errors"
"github.com/restic/restic/internal"
"restic/backend"
"restic/debug"
"github.com/restic/restic/internal/errors"
"github.com/restic/restic/internal/backend"
"github.com/restic/restic/internal/debug"
"github.com/pkg/sftp"
)

View File

@@ -5,14 +5,15 @@ import (
"io/ioutil"
"os"
"path/filepath"
"restic"
"restic/backend/sftp"
"restic/backend/test"
"restic/errors"
"strings"
"testing"
. "restic/test"
"github.com/restic/restic/internal"
"github.com/restic/restic/internal/backend/sftp"
"github.com/restic/restic/internal/backend/test"
"github.com/restic/restic/internal/errors"
. "github.com/restic/restic/internal/test"
)
func findSFTPServerBinary() string {

View File

@@ -1,8 +1,9 @@
package sftp
import (
"restic/errors"
"unicode"
"github.com/restic/restic/internal/errors"
)
// shellSplitter splits a command string into separater arguments. It supports