1
0
mirror of https://github.com/securego/gosec.git synced 2025-07-17 01:12:33 +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

@ -3,7 +3,7 @@ package testutils
import (
"go/ast"
"github.com/securego/gosec"
"github.com/securego/gosec/v2"
)
// MockVisitor is useful for stubbing out ast.Visitor with callback