Fix import ordering.

This commit is contained in:
Martin Smith 2025-02-28 19:30:56 +00:00
parent db8daeb192
commit 1daf5317f8
4 changed files with 4 additions and 6 deletions

View File

@ -6,6 +6,7 @@ import (
"fmt" "fmt"
"io" "io"
"os" "os"
"os/exec"
"path/filepath" "path/filepath"
"runtime" "runtime"
"strconv" "strconv"
@ -38,8 +39,6 @@ import (
"github.com/restic/restic/internal/errors" "github.com/restic/restic/internal/errors"
"os/exec"
"golang.org/x/term" "golang.org/x/term"
) )

View File

@ -1,6 +1,7 @@
package restic package restic
import ( import (
"bytes"
"encoding/json" "encoding/json"
"fmt" "fmt"
"os" "os"
@ -13,8 +14,6 @@ import (
"github.com/restic/restic/internal/errors" "github.com/restic/restic/internal/errors"
"bytes"
"github.com/restic/restic/internal/debug" "github.com/restic/restic/internal/debug"
) )

View File

@ -1,8 +1,9 @@
package restic package restic
import ( import (
rtest "github.com/restic/restic/internal/test"
"testing" "testing"
rtest "github.com/restic/restic/internal/test"
) )
func TestTagLists_Flatten(t *testing.T) { func TestTagLists_Flatten(t *testing.T) {

View File

@ -4,7 +4,6 @@ import (
"bytes" "bytes"
"io" "io"
"strings" "strings"
"text/template" "text/template"
"github.com/restic/restic/internal/ui" "github.com/restic/restic/internal/ui"