From 5675e8d78b85d68ce993498fd19bacf82db427c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=88=E5=AD=A3=E8=8A=B1=E4=B8=AD=E7=9A=84=E6=98=9F?= =?UTF-8?q?=E8=BE=B0?= Date: Sat, 15 Jan 2022 10:39:54 +0000 Subject: [PATCH] Update count.go --- count.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/count.go b/count.go index fe8905f..be52d9d 100644 --- a/count.go +++ b/count.go @@ -43,6 +43,6 @@ func fas_name(old_name string) string { compileRegex := regexp.MustCompile("(\w+).\w+") matchArr := compileRegex.FindStringSubmatch(old_name) //needed to use the string get from the old string - oldname := matchArr[len(matchArr)-1] + old_name := matchArr[len(matchArr)-1] return old_name }