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

@ -1,6 +1,6 @@
package testutils
import "github.com/securego/gosec"
import "github.com/securego/gosec/v2"
// CodeSample encapsulates a snippet of source code that compiles, and how many errors should be detected
type CodeSample struct {