refactoring after actually learning some go patterns

This commit is contained in:
zricethezav committed 2018-02-27 21:56:46 -06:00
1 parent c8880ed911
commit faca0e14d9
6 files changed
+549 -350

No files matched your search

+2 -2
View File
@@ -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{}