From ed476ae85db393e6280b31012ccbfba2f856ee88 Mon Sep 17 00:00:00 2001 From: Murat Kabilov Date: Tue, 26 Sep 2017 13:39:13 +0200 Subject: [PATCH] add missing comment for the method --- pkg/util/util.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/util/util.go b/pkg/util/util.go index 49ecb31e6..518603b57 100644 --- a/pkg/util/util.go +++ b/pkg/util/util.go @@ -77,6 +77,7 @@ OUTER: return result, len(result) == 0 } +// FindNamedStringSubmatch returns a map of strings holding the text of the matches of the r regular expression func FindNamedStringSubmatch(r *regexp.Regexp, s string) map[string]string { matches := r.FindStringSubmatch(s) grNames := r.SubexpNames()