From 2a38f922df5d1c4ad3db17a6605ecf832172448a Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 13 May 2019 11:30:24 +0800 Subject: [PATCH] test --- workers.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/workers.go b/workers.go index 5132b24..f0cbe53 100644 --- a/workers.go +++ b/workers.go @@ -174,27 +174,27 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) { rep.Points = int32(p) cwm.Report[r.ReplaceAllString(m.Text, "${Score1}")] = rep rep = cwm.Report[r.ReplaceAllString(m.Text, "$(Score2)")] - p, _ := strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points2)")) + p, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points2)")) rep.Points = int32(p) cwm.Report[r.ReplaceAllString(m.Text, "${Score2}")] = rep rep = cwm.Report[r.ReplaceAllString(m.Text, "$(Score3)")] - p, _ := strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points3)")) + p, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points3)")) rep.Points = int32(p) cwm.Report[r.ReplaceAllString(m.Text, "${Score3}")] = rep rep = cwm.Report[r.ReplaceAllString(m.Text, "$(Score4)")] - p, _ := strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points4)")) + p, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points4)")) rep.Points = int32(p) cwm.Report[r.ReplaceAllString(m.Text, "${Score4}")] = rep rep = cwm.Report[r.ReplaceAllString(m.Text, "$(Score5)")] - p, _ := strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points5)")) + p, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points5)")) rep.Points = int32(p) cwm.Report[r.ReplaceAllString(m.Text, "${Score5}")] = rep rep = cwm.Report[r.ReplaceAllString(m.Text, "$(Score6)")] - p, _ := strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points6)")) + p, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points6)")) rep.Points = int32(p) cwm.Report[r.ReplaceAllString(m.Text, "${Score6}")] = rep rep = cwm.Report[r.ReplaceAllString(m.Text, "$(Score7)")] - p, _ := strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points7)")) + p, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points7)")) rep.Points = int32(p) cwm.Report[r.ReplaceAllString(m.Text, "${Score7}")] = rep