修改包路径

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 ( import (
"fmt" "fmt"
"github.com/duanhf2012/originnet/log" "github.com/duanhf2012/origin/log"
"github.com/duanhf2012/originnet/rpc" "github.com/duanhf2012/origin/rpc"
"github.com/duanhf2012/originnet/service" "github.com/duanhf2012/origin/service"
"strings" "strings"
) )

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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