From 5907f997fc40594a6f12938d7110b7a70fa80155 Mon Sep 17 00:00:00 2001 From: yedf2 <120050102@qq.com> Date: Sun, 26 Dec 2021 22:33:52 +0800 Subject: [PATCH] a minor change --- dtmsvr/trans_process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtmsvr/trans_process.go b/dtmsvr/trans_process.go index cb5a288..22c2fab 100644 --- a/dtmsvr/trans_process.go +++ b/dtmsvr/trans_process.go @@ -71,7 +71,7 @@ func (t *TransGlobal) saveNew() ([]TransBranch, error) { t.CreateTime = &now t.UpdateTime = &now branches := t.getProcessor().GenBranches() - for i, _ := range branches { + for i := range branches { branches[i].CreateTime = &now branches[i].UpdateTime = &now }