replace modfile with stdlib (#187)

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman
2020-09-28 17:25:04 -04:00
committed by GitHub
parent 26855a2a9e
commit b5ce187ba7
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -6,9 +6,8 @@ import (
"io/ioutil"
"sort"
"github.com/rogpeppe/go-internal/modfile"
"github.com/anchore/syft/syft/pkg"
"golang.org/x/mod/modfile"
)
// parseGoMod takes a go.mod and lists all packages discovered.