mirror of
https://github.com/securego/gosec.git
synced 2024-12-26 20:45:53 +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
|
||
|
}
|