You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by jh...@apache.org on 2017/08/11 01:50:43 UTC
[46/50] calcite-avatica-go git commit: Change import paths to the
repository in the apache organization
Change import paths to the repository in the apache organization
Project: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/repo
Commit: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/commit/e796022b
Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/tree/e796022b
Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/diff/e796022b
Branch: refs/heads/master
Commit: e796022b3f04bb35e57836c4e59b81fceeccad28
Parents: 1247744
Author: Francis Chuang <fr...@boostport.com>
Authored: Wed Aug 9 10:15:34 2017 +1000
Committer: Julian Hyde <jh...@apache.org>
Committed: Thu Aug 10 18:47:13 2017 -0700
----------------------------------------------------------------------
README.md | 8 ++++----
class_mappings.go | 2 +-
connection.go | 2 +-
driver.go | 8 ++++----
errors.go | 2 +-
http_client.go | 2 +-
moby.yml | 4 ++--
rows.go | 2 +-
statement.go | 2 +-
transaction.go | 2 +-
10 files changed, 17 insertions(+), 17 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/e796022b/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 886c66f..448ac49 100644
--- a/README.md
+++ b/README.md
@@ -1,15 +1,15 @@
# Apache Phoenix/Avatica SQL Driver
-[![GoDoc](https://godoc.org/github.com/Boostport/avatica?status.png)](https://godoc.org/github.com/Boostport/Avatica)
+[![GoDoc](https://godoc.org/github.com/apache/calcite-avatica-go?status.png)](https://godoc.org/github.com/apache/calcite-avatica-go)
[![wercker status](https://app.wercker.com/status/1abd1c7014e780ba7754decadb212451/s/master "wercker status")](https://app.wercker.com/project/byKey/1abd1c7014e780ba7754decadb212451)
[![Coverage Status](https://coveralls.io/repos/github/Boostport/avatica/badge.svg?branch=master)](https://coveralls.io/github/Boostport/avatica?branch=master)
An Apache Phoenix/Avatica driver for Go's [database/sql](http://golang.org/pkg/database/sql) package
## Getting started
-Install using the go tool or your dependency management tool:
+Install using your dependency management tool (we recommend [dep](https://github.com/golang/dep)!):
```
-$ go get github.com/Boostport/avatica
+$ dep ensure -add github.com/apache/calcite-avatica-go
```
## Usage
@@ -19,7 +19,7 @@ The Phoenix/Avatica driver implements Go's `database/sql/driver` interface, so,
```
import "database/sql"
-import _ "github.com/Boostport/avatica"
+import _ "github.com/apache/calcite-avatica-go"
db, err := sql.Open("avatica", "http://localhost:8765")
```
http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/e796022b/class_mappings.go
----------------------------------------------------------------------
diff --git a/class_mappings.go b/class_mappings.go
index 29c1ab8..3262387 100644
--- a/class_mappings.go
+++ b/class_mappings.go
@@ -2,7 +2,7 @@ package avatica
import (
"fmt"
- avaticaMessage "github.com/Boostport/avatica/message"
+ avaticaMessage "github.com/apache/calcite-avatica-go/message"
"github.com/golang/protobuf/proto"
"strings"
)
http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/e796022b/connection.go
----------------------------------------------------------------------
diff --git a/connection.go b/connection.go
index dfb5b5a..5b74b73 100644
--- a/connection.go
+++ b/connection.go
@@ -3,7 +3,7 @@ package avatica
import (
"database/sql/driver"
- "github.com/Boostport/avatica/message"
+ "github.com/apache/calcite-avatica-go/message"
"golang.org/x/net/context"
)
http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/e796022b/driver.go
----------------------------------------------------------------------
diff --git a/driver.go b/driver.go
index b9bfa7c..6439bf7 100644
--- a/driver.go
+++ b/driver.go
@@ -6,11 +6,11 @@ Quickstart
Import the database/sql package along with the avatica driver.
import "database/sql"
- import _ "github.com/Boostport/avatica"
+ import _ "github.com/apache/calcite-avatica-go"
db, err := sql.Open("avatica", "http://phoenix-query-server:8765")
-See https://github.com/Boostport/avatica#usage for more details
+See https://github.com/apache/calcite-avatica-go#usage for more details
*/
package avatica
@@ -19,7 +19,7 @@ import (
"database/sql/driver"
"fmt"
- "github.com/Boostport/avatica/message"
+ "github.com/apache/calcite-avatica-go/message"
"github.com/satori/go.uuid"
"golang.org/x/net/context"
)
@@ -28,7 +28,7 @@ import (
type Driver struct{}
// Open a Connection to the server.
-// See https://github.com/Boostport/avatica#dsn for more information
+// See https://github.com/apache/calcite-avatica-go#dsn for more information
// on how the DSN is formatted.
func (a *Driver) Open(dsn string) (driver.Conn, error) {
http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/e796022b/errors.go
----------------------------------------------------------------------
diff --git a/errors.go b/errors.go
index e9753a8..0cef7f7 100644
--- a/errors.go
+++ b/errors.go
@@ -4,7 +4,7 @@ import (
"regexp"
"strconv"
- "github.com/Boostport/avatica/message"
+ "github.com/apache/calcite-avatica-go/message"
)
// Error severity codes
http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/e796022b/http_client.go
----------------------------------------------------------------------
diff --git a/http_client.go b/http_client.go
index 0d43934..839ffa3 100644
--- a/http_client.go
+++ b/http_client.go
@@ -8,7 +8,7 @@ import (
"net/http"
"regexp"
- avaticaMessage "github.com/Boostport/avatica/message"
+ avaticaMessage "github.com/apache/calcite-avatica-go/message"
"github.com/golang/protobuf/proto"
"github.com/hashicorp/go-cleanhttp"
"github.com/jcmturner/gokrb5/client"
http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/e796022b/moby.yml
----------------------------------------------------------------------
diff --git a/moby.yml b/moby.yml
index 374c798..bdd2892 100644
--- a/moby.yml
+++ b/moby.yml
@@ -12,11 +12,11 @@ dev:
- type: script
name: Set up workspace
options:
- command: mkdir -p "$GOPATH/src/github.com/Boostport" && ln -s /source $GOPATH/src/github.com/Boostport/avatica
+ command: mkdir -p "$GOPATH/src/github.com/Boostport" && ln -s /source $GOPATH/src/github.com/apache/calcite-avatica-go
reload:
- type: script
name: Run tests
- cwd: $GOPATH/src/github.com/Boostport/avatica
+ cwd: $GOPATH/src/github.com/apache/calcite-avatica-go
options:
command: go test -v $(go list ./... | grep -v /vendor/)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/e796022b/rows.go
----------------------------------------------------------------------
diff --git a/rows.go b/rows.go
index e57525b..041beb3 100644
--- a/rows.go
+++ b/rows.go
@@ -11,7 +11,7 @@ import (
"fmt"
- "github.com/Boostport/avatica/message"
+ "github.com/apache/calcite-avatica-go/message"
"golang.org/x/net/context"
)
http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/e796022b/statement.go
----------------------------------------------------------------------
diff --git a/statement.go b/statement.go
index 8b1c558..8c75cc7 100644
--- a/statement.go
+++ b/statement.go
@@ -6,7 +6,7 @@ import (
"math"
- "github.com/Boostport/avatica/message"
+ "github.com/apache/calcite-avatica-go/message"
"golang.org/x/net/context"
)
http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/e796022b/transaction.go
----------------------------------------------------------------------
diff --git a/transaction.go b/transaction.go
index e1a012e..624b836 100644
--- a/transaction.go
+++ b/transaction.go
@@ -1,7 +1,7 @@
package avatica
import (
- "github.com/Boostport/avatica/message"
+ "github.com/apache/calcite-avatica-go/message"
"golang.org/x/net/context"
)