Skip to content

Commit

Permalink
refactor: sort imports
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Mar 6, 2025
1 parent d46fab5 commit 34cf0db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions artifact/image/layerscanning/image/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package image

import (
"archive/tar"
"errors"
"fmt"
"io"
Expand All @@ -26,8 +27,6 @@ import (
"path/filepath"
"strings"

"archive/tar"

v1 "github.com/google/go-containerregistry/pkg/v1"
"github.com/google/go-containerregistry/pkg/v1/remote"
"github.com/google/go-containerregistry/pkg/v1/tarball"
Expand Down
2 changes: 1 addition & 1 deletion artifact/image/layerscanning/image/image_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
package image

import (
"archive/tar"
"bytes"
"context"
"errors"
Expand All @@ -25,7 +26,6 @@ import (
"strings"
"testing"

"archive/tar"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
v1 "github.com/google/go-containerregistry/pkg/v1"
Expand Down
3 changes: 1 addition & 2 deletions artifact/image/unpack/unpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package unpack

import (
"archive/tar"
"bytes"
"errors"
"fmt"
Expand All @@ -26,8 +27,6 @@ import (
"path/filepath"
"strings"

"archive/tar"

v1 "github.com/google/go-containerregistry/pkg/v1"
"github.com/google/osv-scalibr/artifact/image/require"
"github.com/google/osv-scalibr/artifact/image/symlink"
Expand Down

0 comments on commit 34cf0db

Please sign in to comment.