adds abilit to report timing for execution

This commit is contained in:
2022-03-21 16:58:05 -05:00
parent cfc719dae3
commit ff9cc1349f
7 changed files with 35 additions and 0 deletions

View File

@ -6,11 +6,14 @@ import (
"log"
"regexp"
"strings"
"time"
"github.com/asaskevich/govalidator"
)
func parseSimple(data []byte) []string {
defer timeTrack(time.Now(), "parseSimple")
var domains []string
// convert data to reader for line-by-line reading