修改文档

master
caiyuzheng 2020-08-26 22:52:36 +08:00
parent 1d463d5988
commit d4a3ca3f8d
9 changed files with 19 additions and 19 deletions

View File

@ -21,9 +21,9 @@ package main
import ( import (
"flag" "flag"
"go-tcpFramework-rudy/config" "tcptemplate/config"
"go-tcpFramework-rudy/logger" "tcptemplate/logger"
"go-tcpFramework-rudy/network" "tcptemplate/network"
"log" "log"
) )

View File

@ -4,9 +4,9 @@ import (
"flag" "flag"
"log" "log"
"runtime" "runtime"
"tcpteamplate/config" "tcptemplate/config"
"tcpteamplate/logger" "tcptemplate/logger"
"tcpteamplate/network" "tcptemplate/network"
) )
func main() { func main() {

View File

@ -10,9 +10,9 @@ import (
"strconv" "strconv"
"strings" "strings"
"sync" "sync"
"tcpteamplate/config" "tcptemplate/config"
"tcpteamplate/logger" "tcptemplate/logger"
"tcpteamplate/util" "tcptemplate/util"
"time" "time"

View File

@ -11,8 +11,8 @@ import (
"log" "log"
"net" "net"
"sync" "sync"
"tcpteamplate/logger" "tcptemplate/logger"
"tcpteamplate/util" "tcptemplate/util"
"time" "time"
_ "time" _ "time"

View File

@ -9,10 +9,10 @@ import (
"net" "net"
"net/http" "net/http"
"os" "os"
"tcpteamplate/config" "tcptemplate/config"
"tcpteamplate/logger" "tcptemplate/logger"
"tcpteamplate/util" "tcptemplate/util"
"tcpteamplate/zk" "tcptemplate/zk"
"time" "time"
zkdriver "github.com/samuel/go-zookeeper/zk" zkdriver "github.com/samuel/go-zookeeper/zk"

View File

@ -8,7 +8,7 @@ import (
"net" "net"
_ "net/http/pprof" _ "net/http/pprof"
_ "runtime" _ "runtime"
_ "tcpteamplate/protocol/pb" _ "tcptemplate/protocol/pb"
"testing" "testing"
"time" "time"

View File

@ -1,7 +1,7 @@
package test package test
import ( import (
"tcpteamplate/tools/mq" "tcptemplate/tools/mq"
"testing" "testing"
"time" "time"

View File

@ -3,7 +3,7 @@ package mq
import ( import (
"fmt" "fmt"
"io" "io"
"tcpteamplate/util" "tcptemplate/util"
"github.com/pkg/errors" "github.com/pkg/errors"
"gopkg.in/redis.v3" "gopkg.in/redis.v3"

View File

@ -5,7 +5,7 @@ import (
"log" "log"
"os" "os"
_ "strings" _ "strings"
"tcpteamplate/config" "tcptemplate/config"
"time" "time"
zk "github.com/samuel/go-zookeeper/zk" zk "github.com/samuel/go-zookeeper/zk"