mirror of
https://github.com/securego/gosec.git
synced 2025-07-05 00:29:02 +02:00
Replace gas with gosec everywhere in the project
This commit is contained in:
@ -3,14 +3,14 @@ package testutils
|
||||
import (
|
||||
"go/ast"
|
||||
|
||||
"github.com/securego/gas"
|
||||
"github.com/securego/gosec"
|
||||
)
|
||||
|
||||
// MockVisitor is useful for stubbing out ast.Visitor with callback
|
||||
// and looking for specific conditions to exist.
|
||||
type MockVisitor struct {
|
||||
Context *gas.Context
|
||||
Callback func(n ast.Node, ctx *gas.Context) bool
|
||||
Context *gosec.Context
|
||||
Callback func(n ast.Node, ctx *gosec.Context) bool
|
||||
}
|
||||
|
||||
// NewMockVisitor creates a new empty struct, the Context and
|
||||
|
Reference in New Issue
Block a user