Add gosimports (#1205)

This commit is contained in:
Keith Zantow
2022-09-14 13:38:18 -04:00
committed by GitHub
parent 9097614f3b
commit b20310eaf8
217 changed files with 492 additions and 401 deletions
@@ -4,8 +4,9 @@ import (
"os"
"testing"
"github.com/anchore/syft/syft/pkg"
"github.com/go-test/deep"
"github.com/anchore/syft/syft/pkg"
)
func TestParseCabalFreeze(t *testing.T) {
@@ -5,10 +5,11 @@ import (
"io"
"strings"
"gopkg.in/yaml.v3"
"github.com/anchore/syft/syft/artifact"
"github.com/anchore/syft/syft/pkg"
"github.com/anchore/syft/syft/pkg/cataloger/common"
"gopkg.in/yaml.v3"
)
// integrity check
@@ -4,8 +4,9 @@ import (
"os"
"testing"
"github.com/anchore/syft/syft/pkg"
"github.com/go-test/deep"
"github.com/anchore/syft/syft/pkg"
)
func fixtureP(str string) *string {
@@ -4,10 +4,11 @@ import (
"fmt"
"io"
"gopkg.in/yaml.v3"
"github.com/anchore/syft/syft/artifact"
"github.com/anchore/syft/syft/pkg"
"github.com/anchore/syft/syft/pkg/cataloger/common"
"gopkg.in/yaml.v3"
)
// integrity check
@@ -4,8 +4,9 @@ import (
"os"
"testing"
"github.com/anchore/syft/syft/pkg"
"github.com/go-test/deep"
"github.com/anchore/syft/syft/pkg"
)
func TestParseStackYaml(t *testing.T) {