Browse Source

Change internal package import to github/fatedier

fatedier 9 years ago
parent
commit
79195d7177

+ 1 - 1
cmd/frpc/config.go

@@ -4,7 +4,7 @@ import (
 	"fmt"
 	"strconv"
 
-	"frp/pkg/models"
+	"github.com/fatedier/frp/pkg/models"
 
 	ini "github.com/vaughan0/go-ini"
 )

+ 3 - 3
cmd/frpc/control.go

@@ -5,9 +5,9 @@ import (
 	"sync"
 	"encoding/json"
 
-	"frp/pkg/models"
-	"frp/pkg/utils/conn"
-	"frp/pkg/utils/log"
+	"github.com/fatedier/frp/pkg/models"
+	"github.com/fatedier/frp/pkg/utils/conn"
+	"github.com/fatedier/frp/pkg/utils/log"
 )
 
 func ControlProcess(cli *models.ProxyClient, wait *sync.WaitGroup) {

+ 1 - 1
cmd/frpc/main.go

@@ -4,7 +4,7 @@ import (
 	"os"
 	"sync"
 	
-	"frp/pkg/utils/log"
+	"github.com/fatedier/frp/pkg/utils/log"
 )
 
 func main() {

+ 1 - 1
cmd/frps/config.go

@@ -4,7 +4,7 @@ import (
 	"fmt"
 	"strconv"
 
-	"frp/pkg/models"
+	"github.com/fatedier/frp/pkg/models"
 
 	ini "github.com/vaughan0/go-ini"
 )

+ 3 - 3
cmd/frps/control.go

@@ -4,9 +4,9 @@ import (
 	"fmt"
 	"encoding/json"
 
-	"frp/pkg/utils/log"
-	"frp/pkg/utils/conn"
-	"frp/pkg/models"
+	"github.com/fatedier/frp/pkg/utils/log"
+	"github.com/fatedier/frp/pkg/utils/conn"
+	"github.com/fatedier/frp/pkg/models"
 )
 
 func ProcessControlConn(l *conn.Listener) {

+ 2 - 2
cmd/frps/main.go

@@ -3,8 +3,8 @@ package main
 import (
 	"os"
 
-	"frp/pkg/utils/log"
-	"frp/pkg/utils/conn"
+	"github.com/fatedier/frp/pkg/utils/log"
+	"github.com/fatedier/frp/pkg/utils/conn"
 )
 
 func main() {

+ 2 - 2
pkg/models/client.go

@@ -3,8 +3,8 @@ package models
 import (
 	"encoding/json"
 
-	"frp/pkg/utils/conn"
-	"frp/pkg/utils/log"
+	"github.com/fatedier/frp/pkg/utils/conn"
+	"github.com/fatedier/frp/pkg/utils/log"
 )
 
 type ProxyClient struct {

+ 2 - 2
pkg/models/server.go

@@ -4,8 +4,8 @@ import (
 	"sync"
 	"container/list"
 
-	"frp/pkg/utils/conn"
-	"frp/pkg/utils/log"
+	"github.com/fatedier/frp/pkg/utils/conn"
+	"github.com/fatedier/frp/pkg/utils/log"
 )
 
 const (

+ 1 - 1
pkg/utils/conn/conn.go

@@ -7,7 +7,7 @@ import (
 	"sync"
 	"io"
 
-	"frp/pkg/utils/log"
+	"github.com/fatedier/frp/pkg/utils/log"
 )
 
 type Listener struct {