Skip to content

Commit 4dd3f1a

Browse files
committed
change name
1 parent 4c6e7c7 commit 4dd3f1a

24 files changed

+39
-39
lines changed

backend/backend_conn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"strings"
2424
"time"
2525

26-
"github.com/compasses/mysql-load-balancer/mysql"
26+
"github.com/compasses/mysql-smart-proxy/mysql"
2727
)
2828

2929
var (

backend/backend_conn_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"fmt"
1919
"testing"
2020

21-
. "github.com/compasses/mysql-load-balancer/mysql"
21+
. "github.com/compasses/mysql-smart-proxy/mysql"
2222
)
2323

2424
func newTestConn() *Conn {

backend/balancer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"math/rand"
1919
"time"
2020

21-
"github.com/compasses/mysql-load-balancer/core/errors"
21+
"github.com/compasses/mysql-smart-proxy/core/errors"
2222
)
2323

2424
func Gcd(ary []int) int {

backend/db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"sync/atomic"
2121
"time"
2222

23-
"github.com/compasses/mysql-load-balancer/core/errors"
23+
"github.com/compasses/mysql-smart-proxy/core/errors"
2424
)
2525

2626
const (

backend/node.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import (
2121
"sync/atomic"
2222
"time"
2323

24-
"github.com/compasses/mysql-load-balancer/config"
25-
"github.com/compasses/mysql-load-balancer/core/errors"
26-
"github.com/compasses/mysql-load-balancer/core/golog"
24+
"github.com/compasses/mysql-smart-proxy/config"
25+
"github.com/compasses/mysql-smart-proxy/core/errors"
26+
"github.com/compasses/mysql-smart-proxy/core/golog"
2727
)
2828

2929
const (

backend/node_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ package backend
1717
import (
1818
"testing"
1919

20-
"github.com/compasses/mysql-load-balancer/config"
20+
"github.com/compasses/mysql-smart-proxy/config"
2121
)
2222

2323
func TestParse(t *testing.T) {

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"io/ioutil"
1919
"os"
2020

21-
"github.com/compasses/mysql-load-balancer/core/yaml"
21+
"github.com/compasses/mysql-smart-proxy/core/yaml"
2222
)
2323

2424
//整个config文件对应的结构

core/hack/version.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package hack
22

33
const (
4-
Version = "2016-05-18 18:33:20 +0800 @fa153eb"
5-
Compile = "2016-05-19 09:30:41 +0800 by go version go1.6.2 linux/amd64"
4+
Version = "2016-05-19 09:33:52 +0800 @4c6e7c7"
5+
Compile = "2016-05-19 09:42:45 +0800 by go version go1.6 windows/amd64"
66
)

dev.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export VTTOP=$(pwd)
44
export VTROOT="${VTROOT:-${VTTOP/\/src\/github.com\/flike\/MSP/}}"
55
# VTTOP sanity check
66
if [[ "$VTTOP" == "${VTTOP/\/src\/github.com\/flike\/MSP/}" ]]; then
7-
echo "WARNING: VTTOP($VTTOP) does not contain src/github.com/compasses/mysql-load-balancer"
7+
echo "WARNING: VTTOP($VTTOP) does not contain src/github.com/compasses/mysql-smart-proxy"
88
fi
99

1010
export GOTOP=$VTTOP

mysql-smart-proxy.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ import (
2323
"strings"
2424
"syscall"
2525

26-
"github.com/compasses/mysql-load-balancer/config"
27-
"github.com/compasses/mysql-load-balancer/core/golog"
28-
"github.com/compasses/mysql-load-balancer/core/hack"
29-
"github.com/compasses/mysql-load-balancer/proxy"
26+
"github.com/compasses/mysql-smart-proxy/config"
27+
"github.com/compasses/mysql-smart-proxy/core/golog"
28+
"github.com/compasses/mysql-smart-proxy/core/hack"
29+
"github.com/compasses/mysql-smart-proxy/proxy"
3030
)
3131

3232
var configFile *string = flag.String("config", "msp.yaml", "MSP config file")

0 commit comments

Comments
 (0)