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
+2 -2
View File
@@ -6,9 +6,9 @@ import (
"sort"
"strings"
"github.com/anchore/syft/syft/sbom"
"github.com/olekukonko/tablewriter"
"github.com/anchore/syft/syft/sbom"
)
func encoder(output io.Writer, s sbom.SBOM) error {
+2 -1
View File
@@ -4,8 +4,9 @@ import (
"flag"
"testing"
"github.com/anchore/syft/syft/formats/common/testutils"
"github.com/go-test/deep"
"github.com/anchore/syft/syft/formats/common/testutils"
)
var updateTableGoldenFiles = flag.Bool("update-table", false, "update the *.golden files for table format")