修改文档
parent
1d463d5988
commit
d4a3ca3f8d
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
6
main.go
6
main.go
|
@ -4,9 +4,9 @@ import (
|
|||
"flag"
|
||||
"log"
|
||||
"runtime"
|
||||
"tcpteamplate/config"
|
||||
"tcpteamplate/logger"
|
||||
"tcpteamplate/network"
|
||||
"tcptemplate/config"
|
||||
"tcptemplate/logger"
|
||||
"tcptemplate/network"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
@ -10,9 +10,9 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
"tcpteamplate/config"
|
||||
"tcpteamplate/logger"
|
||||
"tcpteamplate/util"
|
||||
"tcptemplate/config"
|
||||
"tcptemplate/logger"
|
||||
"tcptemplate/util"
|
||||
|
||||
"time"
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@ import (
|
|||
"log"
|
||||
"net"
|
||||
"sync"
|
||||
"tcpteamplate/logger"
|
||||
"tcpteamplate/util"
|
||||
"tcptemplate/logger"
|
||||
"tcptemplate/util"
|
||||
"time"
|
||||
_ "time"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"net"
|
||||
_ "net/http/pprof"
|
||||
_ "runtime"
|
||||
_ "tcpteamplate/protocol/pb"
|
||||
_ "tcptemplate/protocol/pb"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package test
|
||||
|
||||
import (
|
||||
"tcpteamplate/tools/mq"
|
||||
"tcptemplate/tools/mq"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ package mq
|
|||
import (
|
||||
"fmt"
|
||||
"io"
|
||||
"tcpteamplate/util"
|
||||
"tcptemplate/util"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
"gopkg.in/redis.v3"
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"log"
|
||||
"os"
|
||||
_ "strings"
|
||||
"tcpteamplate/config"
|
||||
"tcptemplate/config"
|
||||
"time"
|
||||
|
||||
zk "github.com/samuel/go-zookeeper/zk"
|
||||
|
|
Loading…
Reference in New Issue