From d4a3ca3f8dfe39269b09e5e385ad8782437efd18 Mon Sep 17 00:00:00 2001 From: caiyuzheng <290198252@qq.com> Date: Wed, 26 Aug 2020 22:52:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- main.go | 6 +++--- network/ConnectionMgr.go | 6 +++--- network/proto.go | 4 ++-- network/skeleton.go | 8 ++++---- test/cli_test.go | 2 +- test/mq_test.go | 2 +- tools/mq/mq.go | 2 +- zk/zkcli.go | 2 +- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 8d1377b..d57871a 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,9 @@ package main import ( "flag" - "go-tcpFramework-rudy/config" - "go-tcpFramework-rudy/logger" - "go-tcpFramework-rudy/network" + "tcptemplate/config" + "tcptemplate/logger" + "tcptemplate/network" "log" ) diff --git a/main.go b/main.go index 0859f66..bc33e07 100644 --- a/main.go +++ b/main.go @@ -4,9 +4,9 @@ import ( "flag" "log" "runtime" - "tcpteamplate/config" - "tcpteamplate/logger" - "tcpteamplate/network" + "tcptemplate/config" + "tcptemplate/logger" + "tcptemplate/network" ) func main() { diff --git a/network/ConnectionMgr.go b/network/ConnectionMgr.go index bb03d4a..a1aa1ac 100644 --- a/network/ConnectionMgr.go +++ b/network/ConnectionMgr.go @@ -10,9 +10,9 @@ import ( "strconv" "strings" "sync" - "tcpteamplate/config" - "tcpteamplate/logger" - "tcpteamplate/util" + "tcptemplate/config" + "tcptemplate/logger" + "tcptemplate/util" "time" diff --git a/network/proto.go b/network/proto.go index 52c6df6..5be1de8 100644 --- a/network/proto.go +++ b/network/proto.go @@ -11,8 +11,8 @@ import ( "log" "net" "sync" - "tcpteamplate/logger" - "tcpteamplate/util" + "tcptemplate/logger" + "tcptemplate/util" "time" _ "time" diff --git a/network/skeleton.go b/network/skeleton.go index 3c9c783..e1afc68 100644 --- a/network/skeleton.go +++ b/network/skeleton.go @@ -9,10 +9,10 @@ import ( "net" "net/http" "os" - "tcpteamplate/config" - "tcpteamplate/logger" - "tcpteamplate/util" - "tcpteamplate/zk" + "tcptemplate/config" + "tcptemplate/logger" + "tcptemplate/util" + "tcptemplate/zk" "time" zkdriver "github.com/samuel/go-zookeeper/zk" diff --git a/test/cli_test.go b/test/cli_test.go index 8bfcbd8..e1a9e3e 100644 --- a/test/cli_test.go +++ b/test/cli_test.go @@ -8,7 +8,7 @@ import ( "net" _ "net/http/pprof" _ "runtime" - _ "tcpteamplate/protocol/pb" + _ "tcptemplate/protocol/pb" "testing" "time" diff --git a/test/mq_test.go b/test/mq_test.go index 62507e5..9813f46 100644 --- a/test/mq_test.go +++ b/test/mq_test.go @@ -1,7 +1,7 @@ package test import ( - "tcpteamplate/tools/mq" + "tcptemplate/tools/mq" "testing" "time" diff --git a/tools/mq/mq.go b/tools/mq/mq.go index 2fca151..30c59a9 100644 --- a/tools/mq/mq.go +++ b/tools/mq/mq.go @@ -3,7 +3,7 @@ package mq import ( "fmt" "io" - "tcpteamplate/util" + "tcptemplate/util" "github.com/pkg/errors" "gopkg.in/redis.v3" diff --git a/zk/zkcli.go b/zk/zkcli.go index fda03ec..1fef52e 100644 --- a/zk/zkcli.go +++ b/zk/zkcli.go @@ -5,7 +5,7 @@ import ( "log" "os" _ "strings" - "tcpteamplate/config" + "tcptemplate/config" "time" zk "github.com/samuel/go-zookeeper/zk"