mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
refactoring after actually learning some go patterns
This commit is contained in:
1 parent
c8880ed911
commit
faca0e14d9
6 files changed
+549
-350
No files matched your search
+2
-2
@@ -5,14 +5,14 @@ import (
|
||||
)
|
||||
|
||||
func TestCheckRegex(t *testing.T) {
|
||||
var results []LeakElem
|
||||
var results []Leak
|
||||
opts := &Options{
|
||||
Concurrency: 10,
|
||||
B64EntropyCutoff: 70,
|
||||
HexEntropyCutoff: 40,
|
||||
Entropy: false,
|
||||
}
|
||||
repo := RepoDesc{
|
||||
repo := Repo{
|
||||
url: "someurl",
|
||||
}
|
||||
commit := Commit{}
|
||||
|
||||
Reference in new issue
Block a user