修改包路径

This commit is contained in:
duanhf2012
2020-03-28 10:13:06 +08:00
parent 4ce56964b0
commit 62acc96412
17 changed files with 36 additions and 36 deletions

View File

@@ -2,9 +2,9 @@ package cluster
import (
"fmt"
"github.com/duanhf2012/originnet/log"
"github.com/duanhf2012/originnet/rpc"
"github.com/duanhf2012/originnet/service"
"github.com/duanhf2012/origin/log"
"github.com/duanhf2012/origin/rpc"
"github.com/duanhf2012/origin/service"
"strings"
)

View File

@@ -1,7 +1,7 @@
package event
import (
"github.com/duanhf2012/originnet/log"
"github.com/duanhf2012/origin/log"
"sync"
)

View File

@@ -1,10 +1,10 @@
package GateService
import (
"github.com/duanhf2012/originnet/event"
"github.com/duanhf2012/originnet/node"
"github.com/duanhf2012/originnet/service"
"github.com/duanhf2012/originnet/sysservice"
"github.com/duanhf2012/origin/event"
"github.com/duanhf2012/origin/node"
"github.com/duanhf2012/origin/service"
"github.com/duanhf2012/origin/sysservice"
)
type GateService struct {

View File

@@ -2,11 +2,11 @@ package main
import (
"fmt"
"github.com/duanhf2012/originnet/example/GateService"
"github.com/duanhf2012/originnet/node"
"github.com/duanhf2012/originnet/service"
"github.com/duanhf2012/originnet/sysmodule"
"github.com/duanhf2012/originnet/sysservice"
"github.com/duanhf2012/origin/example/GateService"
"github.com/duanhf2012/origin/node"
"github.com/duanhf2012/origin/service"
"github.com/duanhf2012/origin/sysmodule"
"github.com/duanhf2012/origin/sysservice"
"time"
)

View File

@@ -1,7 +1,7 @@
package network
import (
"github.com/duanhf2012/originnet/log"
"github.com/duanhf2012/origin/log"
"net"
"sync"
"time"

View File

@@ -1,7 +1,7 @@
package network
import (
"github.com/duanhf2012/originnet/log"
"github.com/duanhf2012/origin/log"
"net"
"sync"
)

View File

@@ -1,7 +1,7 @@
package network
import (
"github.com/duanhf2012/originnet/log"
"github.com/duanhf2012/origin/log"
"net"
"sync"
"time"

View File

@@ -2,8 +2,8 @@ package node
import (
"fmt"
"github.com/duanhf2012/originnet/service"
"github.com/duanhf2012/originnet/cluster"
"github.com/duanhf2012/origin/cluster"
"github.com/duanhf2012/origin/service"
"io/ioutil"
"os"
"os/signal"

View File

@@ -2,8 +2,8 @@ package rpc
import (
"fmt"
"github.com/duanhf2012/originnet/log"
"github.com/duanhf2012/originnet/network"
"github.com/duanhf2012/origin/log"
"github.com/duanhf2012/origin/network"
"math"
"reflect"
"strings"

View File

@@ -2,7 +2,7 @@ package rpc
import (
"fmt"
"github.com/duanhf2012/originnet/log"
"github.com/duanhf2012/origin/log"
"reflect"
"strings"
"unicode"

View File

@@ -2,8 +2,8 @@ package rpc
import (
"fmt"
"github.com/duanhf2012/originnet/log"
"github.com/duanhf2012/originnet/network"
"github.com/duanhf2012/origin/log"
"github.com/duanhf2012/origin/network"
"math"
"net"
"reflect"

View File

@@ -2,8 +2,8 @@ package service
import (
"fmt"
"github.com/duanhf2012/originnet/event"
"github.com/duanhf2012/originnet/util/timer"
"github.com/duanhf2012/origin/event"
"github.com/duanhf2012/origin/util/timer"
"time"
)

View File

@@ -1,8 +1,8 @@
package service
import (
"github.com/duanhf2012/originnet/rpc"
"github.com/duanhf2012/originnet/util/timer"
"github.com/duanhf2012/origin/rpc"
"github.com/duanhf2012/origin/util/timer"
"reflect"
"sync"
"sync/atomic"

View File

@@ -4,7 +4,7 @@ import (
"database/sql"
"errors"
"fmt"
"github.com/duanhf2012/originnet/log"
"github.com/duanhf2012/origin/log"
"math/rand"
"net/url"
"reflect"
@@ -13,7 +13,7 @@ import (
"sync"
"time"
"github.com/duanhf2012/originnet/service"
"github.com/duanhf2012/origin/service"
_ "github.com/go-sql-driver/mysql"
)

View File

@@ -10,7 +10,7 @@ import (
"net/url"
"time"
"github.com/duanhf2012/originnet/service"
"github.com/duanhf2012/origin/service"
)
type HttpClientPoolModule struct {

View File

@@ -5,10 +5,10 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/duanhf2012/originnet/log"
"github.com/duanhf2012/origin/log"
"time"
"github.com/duanhf2012/originnet/service"
"github.com/duanhf2012/origin/service"
"github.com/gomodule/redigo/redis"
)

View File

@@ -2,10 +2,10 @@ package sysservice
import (
"fmt"
"github.com/duanhf2012/originnet/event"
"github.com/duanhf2012/originnet/log"
"github.com/duanhf2012/originnet/network"
"github.com/duanhf2012/originnet/service"
"github.com/duanhf2012/origin/event"
"github.com/duanhf2012/origin/log"
"github.com/duanhf2012/origin/network"
"github.com/duanhf2012/origin/service"
"sync"
)