Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
smola committed Feb 24, 2017
1 parent d802172 commit 2392cc0
Show file tree
Hide file tree
Showing 928 changed files with 3,177 additions and 3,177 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Most of the packages at the top level are general-purpose and are suitable
for use outside Vitess. Packages that are specific to Vitess are in the *vt*
subdirectory. Binaries are in the *cmd* subdirectory.

Please see [GoDoc](http://godoc.org/github.com/youtube/vitess/go) for
Please see [GoDoc](http://godoc.org/gopkg.in/sqle/vitess-go.v1) for
a listing of the packages and their purposes.

vt/proto contains the compiled protos for go, one per each directory.
Expand All @@ -13,7 +13,7 @@ import to XXXpb. For instance:

```go
import (
topodatapb "github.com/youtube/vitess/go/vt/proto/topodata"
topodatapb "gopkg.in/sqle/vitess-go.v1/vt/proto/topodata"
)
```

2 changes: 1 addition & 1 deletion bytes2/chunked_writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"io"
"unicode/utf8"

"github.com/youtube/vitess/go/hack"
"gopkg.in/sqle/vitess-go.v1/hack"
)

// ChunkedWriter has the same interface as bytes.Buffer's write functions.
Expand Down
2 changes: 1 addition & 1 deletion cgzip/eof_read_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"io/ioutil"
"testing"

"github.com/youtube/vitess/go/testfiles"
"gopkg.in/sqle/vitess-go.v1/testfiles"
)

// specialReader is a test class that will return bytes it reads from a file,
Expand Down
4 changes: 2 additions & 2 deletions cmd/automation_client/automation_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"golang.org/x/net/context"
"google.golang.org/grpc"

automationpb "github.com/youtube/vitess/go/vt/proto/automation"
automationservicepb "github.com/youtube/vitess/go/vt/proto/automationservice"
automationpb "gopkg.in/sqle/vitess-go.v1/vt/proto/automation"
automationservicepb "gopkg.in/sqle/vitess-go.v1/vt/proto/automationservice"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions cmd/automation_server/automation_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (

"google.golang.org/grpc"

"github.com/youtube/vitess/go/vt/automation"
automationservicepb "github.com/youtube/vitess/go/vt/proto/automationservice"
"github.com/youtube/vitess/go/vt/servenv"
"gopkg.in/sqle/vitess-go.v1/vt/automation"
automationservicepb "gopkg.in/sqle/vitess-go.v1/vt/proto/automationservice"
"gopkg.in/sqle/vitess-go.v1/vt/servenv"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/automation_server/plugin_grpcvtctlclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ package main
// Imports and register the gRPC vtctl client.

import (
_ "github.com/youtube/vitess/go/vt/vtctl/grpcvtctlclient"
_ "gopkg.in/sqle/vitess-go.v1/vt/vtctl/grpcvtctlclient"
)
2 changes: 1 addition & 1 deletion cmd/automation_server/plugin_grpcvtworkerclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ package main
// Imports and registers the gRPC vtworker client.

import (
_ "github.com/youtube/vitess/go/vt/worker/grpcvtworkerclient"
_ "gopkg.in/sqle/vitess-go.v1/vt/worker/grpcvtworkerclient"
)
16 changes: 8 additions & 8 deletions cmd/l2vtgate/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ import (

log "github.com/golang/glog"

"github.com/youtube/vitess/go/exit"
"github.com/youtube/vitess/go/vt/discovery"
"github.com/youtube/vitess/go/vt/servenv"
"github.com/youtube/vitess/go/vt/topo"
"github.com/youtube/vitess/go/vt/topo/topoproto"
"github.com/youtube/vitess/go/vt/vtgate"
"github.com/youtube/vitess/go/vt/vtgate/l2vtgate"
"gopkg.in/sqle/vitess-go.v1/exit"
"gopkg.in/sqle/vitess-go.v1/vt/discovery"
"gopkg.in/sqle/vitess-go.v1/vt/servenv"
"gopkg.in/sqle/vitess-go.v1/vt/topo"
"gopkg.in/sqle/vitess-go.v1/vt/topo/topoproto"
"gopkg.in/sqle/vitess-go.v1/vt/vtgate"
"gopkg.in/sqle/vitess-go.v1/vt/vtgate/l2vtgate"

topodatapb "github.com/youtube/vitess/go/vt/proto/topodata"
topodatapb "gopkg.in/sqle/vitess-go.v1/vt/proto/topodata"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/l2vtgate/plugin_consultopo.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package main
// This plugin imports consultopo to register the consul implementation of TopoServer.

import (
_ "github.com/youtube/vitess/go/vt/topo/consultopo"
_ "gopkg.in/sqle/vitess-go.v1/vt/topo/consultopo"
)
2 changes: 1 addition & 1 deletion cmd/l2vtgate/plugin_etcd2topo.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ package main
// This plugin imports etcd2topo to register the etcd2 implementation of TopoServer.

import (
_ "github.com/youtube/vitess/go/vt/topo/etcd2topo"
_ "gopkg.in/sqle/vitess-go.v1/vt/topo/etcd2topo"
)
2 changes: 1 addition & 1 deletion cmd/l2vtgate/plugin_etcdtopo.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ package main
// This plugin imports etcdtopo to register the etcd implementation of TopoServer.

import (
_ "github.com/youtube/vitess/go/vt/etcdtopo"
_ "gopkg.in/sqle/vitess-go.v1/vt/etcdtopo"
)
8 changes: 4 additions & 4 deletions cmd/l2vtgate/plugin_grpcqueryservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ package main
// Imports and register the gRPC queryservice server

import (
"github.com/youtube/vitess/go/vt/servenv"
"github.com/youtube/vitess/go/vt/tabletserver/grpcqueryservice"
"github.com/youtube/vitess/go/vt/tabletserver/queryservice"
"github.com/youtube/vitess/go/vt/vtgate/l2vtgate"
"gopkg.in/sqle/vitess-go.v1/vt/servenv"
"gopkg.in/sqle/vitess-go.v1/vt/tabletserver/grpcqueryservice"
"gopkg.in/sqle/vitess-go.v1/vt/tabletserver/queryservice"
"gopkg.in/sqle/vitess-go.v1/vt/vtgate/l2vtgate"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/l2vtgate/plugin_grpctabletconn.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ package main
// Imports and register the gRPC tabletconn client

import (
_ "github.com/youtube/vitess/go/vt/tabletserver/grpctabletconn"
_ "gopkg.in/sqle/vitess-go.v1/vt/tabletserver/grpctabletconn"
)
2 changes: 1 addition & 1 deletion cmd/l2vtgate/plugin_influxdbbackend.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ package main
// This plugin imports influxdbbackend to register the influxdbbackend stats backend.

import (
_ "github.com/youtube/vitess/go/stats/influxdbbackend"
_ "gopkg.in/sqle/vitess-go.v1/stats/influxdbbackend"
)
2 changes: 1 addition & 1 deletion cmd/l2vtgate/plugin_zk2topo.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package main

import (
// Imports and register the zk2 TopologyServer
_ "github.com/youtube/vitess/go/vt/topo/zk2topo"
_ "gopkg.in/sqle/vitess-go.v1/vt/topo/zk2topo"
)
2 changes: 1 addition & 1 deletion cmd/l2vtgate/plugin_zktopo.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ package main
// Imports and register the Zookeeper TopologyServer

import (
_ "github.com/youtube/vitess/go/vt/zktopo"
_ "gopkg.in/sqle/vitess-go.v1/vt/zktopo"
)
12 changes: 6 additions & 6 deletions cmd/l2vtgate/status.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package main

import (
"github.com/youtube/vitess/go/vt/discovery"
"github.com/youtube/vitess/go/vt/servenv"
_ "github.com/youtube/vitess/go/vt/status"
"github.com/youtube/vitess/go/vt/vtgate"
"github.com/youtube/vitess/go/vt/vtgate/gateway"
"github.com/youtube/vitess/go/vt/vtgate/l2vtgate"
"gopkg.in/sqle/vitess-go.v1/vt/discovery"
"gopkg.in/sqle/vitess-go.v1/vt/servenv"
_ "gopkg.in/sqle/vitess-go.v1/vt/status"
"gopkg.in/sqle/vitess-go.v1/vt/vtgate"
"gopkg.in/sqle/vitess-go.v1/vt/vtgate/gateway"
"gopkg.in/sqle/vitess-go.v1/vt/vtgate/l2vtgate"
)

// For use by plugins which wish to avoid racing when registering status page parts.
Expand Down
14 changes: 7 additions & 7 deletions cmd/mysqlctl/mysqlctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ import (
log "github.com/golang/glog"
"golang.org/x/net/context"

"github.com/youtube/vitess/go/exit"
"github.com/youtube/vitess/go/flagutil"
"github.com/youtube/vitess/go/mysqlconn/replication"
"github.com/youtube/vitess/go/netutil"
"github.com/youtube/vitess/go/vt/dbconfigs"
"github.com/youtube/vitess/go/vt/logutil"
"github.com/youtube/vitess/go/vt/mysqlctl"
"gopkg.in/sqle/vitess-go.v1/exit"
"gopkg.in/sqle/vitess-go.v1/flagutil"
"gopkg.in/sqle/vitess-go.v1/mysqlconn/replication"
"gopkg.in/sqle/vitess-go.v1/netutil"
"gopkg.in/sqle/vitess-go.v1/vt/dbconfigs"
"gopkg.in/sqle/vitess-go.v1/vt/logutil"
"gopkg.in/sqle/vitess-go.v1/vt/mysqlctl"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/mysqlctl/plugin_influxdbbackend.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ package main
// This plugin imports influxdbbackend to register the influxdbbackend stats backend.

import (
_ "github.com/youtube/vitess/go/stats/influxdbbackend"
_ "gopkg.in/sqle/vitess-go.v1/stats/influxdbbackend"
)
10 changes: 5 additions & 5 deletions cmd/mysqlctld/mysqlctld.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ import (
"time"

log "github.com/golang/glog"
"github.com/youtube/vitess/go/exit"
"github.com/youtube/vitess/go/vt/dbconfigs"
"github.com/youtube/vitess/go/vt/logutil"
"github.com/youtube/vitess/go/vt/mysqlctl"
"github.com/youtube/vitess/go/vt/servenv"
"golang.org/x/net/context"
"gopkg.in/sqle/vitess-go.v1/exit"
"gopkg.in/sqle/vitess-go.v1/vt/dbconfigs"
"gopkg.in/sqle/vitess-go.v1/vt/logutil"
"gopkg.in/sqle/vitess-go.v1/vt/mysqlctl"
"gopkg.in/sqle/vitess-go.v1/vt/servenv"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/mysqlctld/plugin_grpcmysqlctlserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ package main
// Import and register the gRPC mysqlctl server

import (
"github.com/youtube/vitess/go/vt/mysqlctl/grpcmysqlctlserver"
"github.com/youtube/vitess/go/vt/servenv"
"gopkg.in/sqle/vitess-go.v1/vt/mysqlctl/grpcmysqlctlserver"
"gopkg.in/sqle/vitess-go.v1/vt/servenv"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/mysqlctld/plugin_influxdbbackend.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ package main
// This plugin imports influxdbbackend to register the influxdbbackend stats backend.

import (
_ "github.com/youtube/vitess/go/stats/influxdbbackend"
_ "gopkg.in/sqle/vitess-go.v1/stats/influxdbbackend"
)
4 changes: 2 additions & 2 deletions cmd/query_analyzer/query_analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
"sort"

log "github.com/golang/glog"
"github.com/youtube/vitess/go/exit"
"github.com/youtube/vitess/go/vt/sqlparser"
"gopkg.in/sqle/vitess-go.v1/exit"
"gopkg.in/sqle/vitess-go.v1/vt/sqlparser"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/topo2topo/plugin_consultopo.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package main
// This plugin imports consultopo to register the consul implementation of TopoServer.

import (
_ "github.com/youtube/vitess/go/vt/topo/consultopo"
_ "gopkg.in/sqle/vitess-go.v1/vt/topo/consultopo"
)
2 changes: 1 addition & 1 deletion cmd/topo2topo/plugin_etcd2topo.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ package main
// This plugin imports etcd2topo to register the etcd2 implementation of TopoServer.

import (
_ "github.com/youtube/vitess/go/vt/topo/etcd2topo"
_ "gopkg.in/sqle/vitess-go.v1/vt/topo/etcd2topo"
)
2 changes: 1 addition & 1 deletion cmd/topo2topo/plugin_etcdtopo.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ package main
// This plugin imports etcdtopo to register the etcd implementation of TopoServer.

import (
_ "github.com/youtube/vitess/go/vt/etcdtopo"
_ "gopkg.in/sqle/vitess-go.v1/vt/etcdtopo"
)
2 changes: 1 addition & 1 deletion cmd/topo2topo/plugin_zk2topo.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package main

import (
// Imports and register the zk2 TopologyServer
_ "github.com/youtube/vitess/go/vt/topo/zk2topo"
_ "gopkg.in/sqle/vitess-go.v1/vt/topo/zk2topo"
)
2 changes: 1 addition & 1 deletion cmd/topo2topo/plugin_zktopo.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ package main
// Imports and register the Zookeeper TopologyServer

import (
_ "github.com/youtube/vitess/go/vt/zktopo"
_ "gopkg.in/sqle/vitess-go.v1/vt/zktopo"
)
8 changes: 4 additions & 4 deletions cmd/topo2topo/topo2topo.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (
"flag"

log "github.com/golang/glog"
"github.com/youtube/vitess/go/exit"
"github.com/youtube/vitess/go/vt/logutil"
"github.com/youtube/vitess/go/vt/topo"
"github.com/youtube/vitess/go/vt/topo/helpers"
"golang.org/x/net/context"
"gopkg.in/sqle/vitess-go.v1/exit"
"gopkg.in/sqle/vitess-go.v1/vt/logutil"
"gopkg.in/sqle/vitess-go.v1/vt/topo"
"gopkg.in/sqle/vitess-go.v1/vt/topo/helpers"
)

var (
Expand Down
8 changes: 4 additions & 4 deletions cmd/vtclient/vtclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import (

log "github.com/golang/glog"
"github.com/olekukonko/tablewriter"
"github.com/youtube/vitess/go/exit"
"github.com/youtube/vitess/go/vt/logutil"
"github.com/youtube/vitess/go/vt/vitessdriver"
"github.com/youtube/vitess/go/vt/vtgate/vtgateconn"
"gopkg.in/sqle/vitess-go.v1/exit"
"gopkg.in/sqle/vitess-go.v1/vt/logutil"
"gopkg.in/sqle/vitess-go.v1/vt/vitessdriver"
"gopkg.in/sqle/vitess-go.v1/vt/vtgate/vtgateconn"
)

var (
Expand Down
26 changes: 13 additions & 13 deletions cmd/vtcombo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ import (
"github.com/golang/protobuf/proto"
"golang.org/x/net/context"

"github.com/youtube/vitess/go/exit"
"github.com/youtube/vitess/go/vt/dbconfigs"
"github.com/youtube/vitess/go/vt/discovery"
"github.com/youtube/vitess/go/vt/mysqlctl"
"github.com/youtube/vitess/go/vt/servenv"
"github.com/youtube/vitess/go/vt/tabletserver/tabletenv"
"github.com/youtube/vitess/go/vt/topo"
"github.com/youtube/vitess/go/vt/topo/memorytopo"
"github.com/youtube/vitess/go/vt/vtctld"
"github.com/youtube/vitess/go/vt/vtgate"

topodatapb "github.com/youtube/vitess/go/vt/proto/topodata"
vttestpb "github.com/youtube/vitess/go/vt/proto/vttest"
"gopkg.in/sqle/vitess-go.v1/exit"
"gopkg.in/sqle/vitess-go.v1/vt/dbconfigs"
"gopkg.in/sqle/vitess-go.v1/vt/discovery"
"gopkg.in/sqle/vitess-go.v1/vt/mysqlctl"
"gopkg.in/sqle/vitess-go.v1/vt/servenv"
"gopkg.in/sqle/vitess-go.v1/vt/tabletserver/tabletenv"
"gopkg.in/sqle/vitess-go.v1/vt/topo"
"gopkg.in/sqle/vitess-go.v1/vt/topo/memorytopo"
"gopkg.in/sqle/vitess-go.v1/vt/vtctld"
"gopkg.in/sqle/vitess-go.v1/vt/vtgate"

topodatapb "gopkg.in/sqle/vitess-go.v1/vt/proto/topodata"
vttestpb "gopkg.in/sqle/vitess-go.v1/vt/proto/vttest"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/vtcombo/plugin_grpcvtctlserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
package main

import (
"github.com/youtube/vitess/go/vt/servenv"
"github.com/youtube/vitess/go/vt/vtctl/grpcvtctlserver"
"gopkg.in/sqle/vitess-go.v1/vt/servenv"
"gopkg.in/sqle/vitess-go.v1/vt/vtctl/grpcvtctlserver"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions cmd/vtcombo/plugin_grpcvtgateservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ package main
// Imports and register the gRPC vtgateservice server

import (
"github.com/youtube/vitess/go/vt/servenv"
_ "github.com/youtube/vitess/go/vt/vtgate/grpcvtgateservice"
"gopkg.in/sqle/vitess-go.v1/vt/servenv"
_ "gopkg.in/sqle/vitess-go.v1/vt/vtgate/grpcvtgateservice"
)

func init() {
Expand Down
Loading

0 comments on commit 2392cc0

Please sign in to comment.