Skip to content

Commit

Permalink
fix import package.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peakchen committed May 11, 2020
1 parent 1621367 commit 8ee79c0
Show file tree
Hide file tree
Showing 44 changed files with 97 additions and 97 deletions.
2 changes: 1 addition & 1 deletion Cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package Cache
*/

import (
"aktime"
"github.com/Peakchen/xcommon/aktime"
"container/list"
"sync"
"time"
Expand Down
2 changes: 1 addition & 1 deletion Config/JsonParser.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Config

import (
"akLog"
"github.com/Peakchen/xcommon/akLog"
"encoding/json"
"io/ioutil"
)
Expand Down
2 changes: 1 addition & 1 deletion Config/serverConfig/ExternalGWConfig.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package serverConfig

import (
"Config"
"github.com/Peakchen/xcommon/Config"
"fmt"
"path/filepath"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion Config/serverConfig/InnerGWConfig.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package serverConfig

import (
"Config"
"github.com/Peakchen/xcommon/Config"
"fmt"
"path/filepath"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion Config/serverConfig/NetFilterConfig.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package serverConfig

import (
"Config"
"github.com/Peakchen/xcommon/Config"
"fmt"
"path/filepath"
)
Expand Down
2 changes: 1 addition & 1 deletion Config/serverConfig/gameConfig.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package serverConfig

import (
"Config"
"github.com/Peakchen/xcommon/Config"
"fmt"
"path/filepath"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion Config/serverConfig/loginConfig.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package serverConfig

import (
"Config"
"github.com/Peakchen/xcommon/Config"
"fmt"
"path/filepath"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion Config/serverConfig/mgoconfig.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package serverConfig

import (
"Config"
"github.com/Peakchen/xcommon/Config"
"fmt"
"path/filepath"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion Config/serverConfig/redisconfig.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package serverConfig

import (
"Config"
"github.com/Peakchen/xcommon/Config"
"fmt"
"path/filepath"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion HotUpdate/hot_v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package HotUpdate
//add by stefan

import (
"akLog"
"github.com/Peakchen/xcommon/akLog"
"os"
"os/signal"
"syscall"
Expand Down
8 changes: 4 additions & 4 deletions MgoConn/mgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package MgoConn
// add by stefan

import (
"akLog"
"RedisConn"
"ado"
. "public"
"github.com/Peakchen/xcommon/akLog"
"github.com/Peakchen/xcommon/RedisConn"
"github.com/Peakchen/xcommon/ado"
. "github.com/Peakchen/xcommon/public"
"fmt"
"reflect"
"sync"
Expand Down
8 changes: 4 additions & 4 deletions RedisConn/RedisConn.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
package RedisConn

import (
"akLog"
"ado"
"ado/dbStatistics"
"public"
"github.com/Peakchen/xcommon/akLog"
"github.com/Peakchen/xcommon/ado"
"github.com/Peakchen/xcommon/ado/dbStatistics"
"github.com/Peakchen/xcommon/public"
"fmt"
"strconv"
"time"
Expand Down
4 changes: 2 additions & 2 deletions Rpc/Queue.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package Rpc

import (
"akLog"
. "RedisConn"
"github.com/Peakchen/xcommon/akLog"
. "github.com/Peakchen/xcommon/RedisConn"
"context"
"encoding/json"
"fmt"
Expand Down
8 changes: 4 additions & 4 deletions ado/dbCache/commit.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package dbCache

import (
"akLog"
"ado"
"ado/service"
"public"
"github.com/Peakchen/xcommon/akLog"
"github.com/Peakchen/xcommon/ado"
"github.com/Peakchen/xcommon/ado/service"
"github.com/Peakchen/xcommon/public"
"github.com/globalsign/mgo/bson"
"sync"
)
Expand Down
10 changes: 5 additions & 5 deletions ado/dbStatistics/statistics.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ package dbStatistics

import (
"bytes"
"akLog"
"aktime"
"public"
"stacktrace"
"utls"
"github.com/Peakchen/xcommon/akLog"
"github.com/Peakchen/xcommon/aktime"
"github.com/Peakchen/xcommon/public"
"github.com/Peakchen/xcommon/stacktrace"
"github.com/Peakchen/xcommon/utls"
"encoding/gob"
"fmt"
"os"
Expand Down
4 changes: 2 additions & 2 deletions ado/service/DBUtils.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package service
// add by stefan

import (
"ado"
"public"
"github.com/Peakchen/xcommon/ado"
"github.com/Peakchen/xcommon/public"
"github.com/gomodule/redigo/redis"
)

Expand Down
12 changes: 6 additions & 6 deletions ado/service/Service.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package service

import (
"Config/serverConfig"
"akLog"
"MgoConn"
"RedisConn"
"ado"
"public"
"github.com/Peakchen/xcommon/Config/serverConfig"
"github.com/Peakchen/xcommon/akLog"
"github.com/Peakchen/xcommon/MgoConn"
"github.com/Peakchen/xcommon/RedisConn"
"github.com/Peakchen/xcommon/ado"
"github.com/Peakchen/xcommon/public"
"context"
"sync"
)
Expand Down
2 changes: 1 addition & 1 deletion ado/service/multi.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package service

import (
"aktime"
"github.com/Peakchen/xcommon/aktime"
)

var (
Expand Down
10 changes: 5 additions & 5 deletions ado/service/multiRedDB.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package service

import (
"Config/serverConfig"
"akLog"
"MgoConn"
"RedisConn"
"ado"
"github.com/Peakchen/xcommon/Config/serverConfig"
"github.com/Peakchen/xcommon/akLog"
"github.com/Peakchen/xcommon/MgoConn"
"github.com/Peakchen/xcommon/RedisConn"
"github.com/Peakchen/xcommon/ado"
"context"
"net/http"
"strconv"
Expand Down
4 changes: 2 additions & 2 deletions akLog/consolePrint.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package Log
// add by stefan

import (
"aktime"
"public"
"github.com/Peakchen/xcommon/aktime"
"github.com/Peakchen/xcommon/public"
"fmt"
)

Expand Down
6 changes: 3 additions & 3 deletions akLog/logImp.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package Log
// add by stefan

import (
"aktime"
"public"
"utls"
"github.com/Peakchen/xcommon/aktime"
"github.com/Peakchen/xcommon/public"
"github.com/Peakchen/xcommon/utls"
"context"
"fmt"
"os"
Expand Down
6 changes: 3 additions & 3 deletions akNet/clientPack.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package akNet
// add by stefan

import (
"akLog"
"stacktrace"
"utls"
"github.com/Peakchen/xcommon/akLog"
"github.com/Peakchen/xcommon/stacktrace"
"github.com/Peakchen/xcommon/utls"
"encoding/binary"
"fmt"
"github.com/golang/protobuf/proto"
Expand Down
4 changes: 2 additions & 2 deletions akNet/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package akNet
// add by stefan

import (
"akLog"
"ado/dbStatistics"
"github.com/Peakchen/xcommon/akLog"
"github.com/Peakchen/xcommon/ado/dbStatistics"
"define"
"msgProto/MSG_HeartBeat"
"msgProto/MSG_Login"
Expand Down
2 changes: 1 addition & 1 deletion akNet/netTruste.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package akNet
// add by stefan

import (
"Config/serverConfig"
"github.com/Peakchen/xcommon/Config/serverConfig"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions akNet/serverPack.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package akNet
// add by stefan

import (
"akLog"
"stacktrace"
"utls"
"github.com/Peakchen/xcommon/akLog"
"github.com/Peakchen/xcommon/stacktrace"
"github.com/Peakchen/xcommon/utls"
"encoding/binary"
"fmt"
"github.com/golang/protobuf/proto"
Expand Down
4 changes: 2 additions & 2 deletions akNet/serverSession.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package akNet
// add by stefan

import (
"define"
"utls"
"github.com/Peakchen/xcommon/define"
"github.com/Peakchen/xcommon/utls"
"sync"
)

Expand Down
10 changes: 5 additions & 5 deletions akNet/tcpClient.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ package akNet
// add by stefan

import (
"akLog"
"define"
"msgProto/MSG_MainModule"
"msgProto/MSG_Server"
"pprof"
"agithub.com/Peakchen/xcommon/kLog"
"github.com/Peakchen/xcommon/define"
"github.com/Peakchen/xcommon/msgProto/MSG_MainModule"
"github.com/Peakchen/xcommon/msgProto/MSG_Server"
"github.com/Peakchen/xcommon/pprof"
"net"
"net/http"
"os"
Expand Down
10 changes: 5 additions & 5 deletions akNet/tcpServer.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
package akNet

import (
"akLog"
"define"
"msgProto/MSG_MainModule"
"msgProto/MSG_Player"
"pprof"
"github.com/Peakchen/xcommon/akLog"
"github.com/Peakchen/xcommon/define"
"github.com/Peakchen/xcommon/msgProto/MSG_MainModule"
"github.com/Peakchen/xcommon/msgProto/MSG_Player"
"github.com/Peakchen/xcommon/pprof"
"context"
"fmt"
"net"
Expand Down
14 changes: 7 additions & 7 deletions akNet/tcpsession_c.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
package akNet

import (
"akLog"
"aktime"
"define"
"msgProto/MSG_HeartBeat"
"msgProto/MSG_MainModule"
"msgProto/MSG_Server"
"stacktrace"
"github.com/Peakchen/xcommon/akLog"
"github.com/Peakchen/xcommon/aktime"
"github.com/Peakchen/xcommon/define"
"github.com/Peakchen/xcommon/msgProto/MSG_HeartBeat"
"github.com/Peakchen/xcommon/msgProto/MSG_MainModule"
"github.com/Peakchen/xcommon/msgProto/MSG_Server"
"github.com/Peakchen/xcommon/stacktrace"
"fmt"
"net"
"sync/atomic"
Expand Down
12 changes: 6 additions & 6 deletions akNet/tcpsession_s.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
package akNet

import (
"akLog"
"aktime"
"define"
"msgProto/MSG_HeartBeat"
"msgProto/MSG_MainModule"
"github.com/Peakchen/xcommon/akLog"
"github.com/Peakchen/xcommon/aktime"
"github.com/Peakchen/xcommon/define"
"github.com/Peakchen/xcommon/msgProto/MSG_HeartBeat"
"github.com/Peakchen/xcommon/msgProto/MSG_MainModule"
"fmt"
"net"
"sync/atomic"
"time"
//"S2SMessage"
"stacktrace"
"github.com/Peakchen/xcommon/stacktrace"
"context"
"github.com/golang/protobuf/proto"
"sync"
Expand Down
2 changes: 1 addition & 1 deletion akRpc/rpcv2.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package akRpc
// server no block rpc, enter queue task call back for order.
// add by stefan 20190704 19:24
import (
. "RedisConn"
. "github.com/Peakchen/xcommon/RedisConn"
"context"
"fmt"
"log"
Expand Down
2 changes: 1 addition & 1 deletion akWebNet/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"net/http"
"github.com/gorilla/websocket"
"fmt"
"aktime"
"github.com/Peakchen/xcommon/aktime"
//"strings"
//"strconv"
)
Expand Down
Loading

0 comments on commit 8ee79c0

Please sign in to comment.