Skip to content

Commit

Permalink
Correctly name the function when debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
osvik committed Oct 22, 2017
1 parent 7a636f4 commit 2556233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2556233

Please sign in to comment.