From 2556233a4bd5c48943f954b49e240fad430ceaf6 Mon Sep 17 00:00:00 2001 From: Osvaldo Gago Date: Sun, 22 Oct 2017 10:10:07 +0200 Subject: [PATCH] Correctly name the function when debugging --- functions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.go b/functions.go index 38f7ac8..bf512bd 100644 --- a/functions.go +++ b/functions.go @@ -44,7 +44,7 @@ func searchInStringToMap(total string, expression string) map[string]bool { // searchInStringToMapCS Reads a string and returns all matches (case sensitive) in the regular expression as map keys func searchInStringToMapCS(total string, expression string) map[string]bool { - defer timeTrack(time.Now(), "searchInStringToMap") + defer timeTrack(time.Now(), "searchInStringToMapCS") r, err := regexp.Compile(expression) if err != nil { panic(err)