修改文档
parent
1d463d5988
commit
d4a3ca3f8d
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
6
main.go
6
main.go
|
@ -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() {
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,8 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"net"
|
"net"
|
||||||
"sync"
|
"sync"
|
||||||
"tcpteamplate/logger"
|
"tcptemplate/logger"
|
||||||
"tcpteamplate/util"
|
"tcptemplate/util"
|
||||||
"time"
|
"time"
|
||||||
_ "time"
|
_ "time"
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package test
|
package test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"tcpteamplate/tools/mq"
|
"tcptemplate/tools/mq"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue