mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
修改包路径
This commit is contained in:
@@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package event
|
package event
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/duanhf2012/originnet/log"
|
"github.com/duanhf2012/origin/log"
|
||||||
"sync"
|
"sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package network
|
package network
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/duanhf2012/originnet/log"
|
"github.com/duanhf2012/origin/log"
|
||||||
"net"
|
"net"
|
||||||
"sync"
|
"sync"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user