From 6a19a629f469727b61a4946b37fba8d08e078103 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 26 Jan 2020 14:48:22 +0800 Subject: [PATCH] update --- item.go | 8 ++++++++ obj.go | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/item.go b/item.go index 7030deb..a80715e 100644 --- a/item.go +++ b/item.go @@ -1,5 +1,13 @@ package main +import ( + "errors" + "fmt" + "regexp" + "strconv" + "sync" +) + var ( muxObjItem sync.RWMutex objItems []ChatWarsItem diff --git a/obj.go b/obj.go index c26afc0..6db19f2 100644 --- a/obj.go +++ b/obj.go @@ -5,9 +5,7 @@ import ( "compress/zlib" "encoding/json" "errors" - "fmt" "log" - "regexp" "strconv" "sync" "time"