mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 12:05:52 +00:00
11 lines
241 B
Go
11 lines
241 B
Go
|
package testutils
|
||
|
|
||
|
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 {
|
||
|
Code []string
|
||
|
Errors int
|
||
|
Config gosec.Config
|
||
|
}
|