1
0
mirror of https://github.com/securego/gosec.git synced 2025-07-15 01:04:43 +02:00

Handle properly the gosec module version v2

Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
This commit is contained in:
Cosmin Cojocar
2020-04-01 22:18:39 +02:00
committed by Cosmin Cojocar
parent e946c8c399
commit c6e10af40f
45 changed files with 69 additions and 163 deletions

View File

@ -7,13 +7,13 @@ import (
"os"
"strings"
"github.com/securego/gosec"
"github.com/securego/gosec/rules"
"github.com/securego/gosec/v2"
"github.com/securego/gosec/v2/rules"
"golang.org/x/tools/go/packages"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/securego/gosec/testutils"
"github.com/securego/gosec/v2/testutils"
)
var _ = Describe("Analyzer", func() {