Skip to content

Commit

Permalink
Revert internal package change
Browse files Browse the repository at this point in the history
  • Loading branch information
dancannon committed Apr 13, 2016
1 parent c69d7ba commit ad28ba0
Show file tree
Hide file tree
Showing 39 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"sync/atomic"
"time"

p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion connection_handshake.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

"golang.org/x/crypto/pbkdf2"

p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

type HandshakeVersion int
Expand Down
4 changes: 2 additions & 2 deletions cursor.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"reflect"
"sync"

"gopkg.in/dancannon/gorethink.v2/internal/encoding"
p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
"gopkg.in/dancannon/gorethink.v2/encoding"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

var (
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"strings"

p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion gorethink.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/Sirupsen/logrus"

"gopkg.in/dancannon/gorethink.v2/internal/encoding"
"gopkg.in/dancannon/gorethink.v2/encoding"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion node.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"sync"

"github.com/hailocab/go-hostpool"
p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

// Node represents a database server in the cluster
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion query.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strconv"
"strings"

p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

// A Query represents a query ready to be sent to the database, A Query differs
Expand Down
2 changes: 1 addition & 1 deletion query_admin.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gorethink

import (
p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

// Config can be used to read and/or update the configurations for individual
Expand Down
2 changes: 1 addition & 1 deletion query_aggregation.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gorethink

import p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
import p "gopkg.in/dancannon/gorethink.v2/ql2"

// Aggregation
// These commands are used to compute smaller values from large sequences.
Expand Down
2 changes: 1 addition & 1 deletion query_control.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"reflect"

p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

// Expr converts any value to an expression and is also used by many other terms
Expand Down
2 changes: 1 addition & 1 deletion query_db.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gorethink

import (
p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

// DBCreate creates a database. A RethinkDB database is a collection of tables,
Expand Down
2 changes: 1 addition & 1 deletion query_geospatial.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gorethink

import (
p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

// CircleOpts contains the optional arguments for the Circle term.
Expand Down
2 changes: 1 addition & 1 deletion query_join.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gorethink

import (
p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

// InnerJoin returns the inner product of two sequences (e.g. a table, a filter result)
Expand Down
2 changes: 1 addition & 1 deletion query_manipulation.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gorethink

import (
p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

// Row returns the currently visited document. Note that Row does not work within
Expand Down
2 changes: 1 addition & 1 deletion query_math.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gorethink

import (
p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion query_select.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gorethink

import (
p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

// DB references a database.
Expand Down
2 changes: 1 addition & 1 deletion query_string.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gorethink

import (
p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

// Match matches against a regular expression. If no match is found, returns
Expand Down
2 changes: 1 addition & 1 deletion query_table.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gorethink

import (
p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

// TableCreateOpts contains the optional arguments for the TableCreate term
Expand Down
2 changes: 1 addition & 1 deletion query_time.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gorethink

import (
p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

// Now returns a time object representing the current time in UTC
Expand Down
2 changes: 1 addition & 1 deletion query_transformation.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gorethink

import p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
import p "gopkg.in/dancannon/gorethink.v2/ql2"

// Map transform each element of the sequence by applying the given mapping
// function. It takes two arguments, a sequence and a function of type
Expand Down
2 changes: 1 addition & 1 deletion query_write.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gorethink

import (
p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

// InsertOpts contains the optional arguments for the Insert term
Expand Down
2 changes: 1 addition & 1 deletion session.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"sync"
"time"

p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

// A Session represents a connection to a RethinkDB cluster and should be used
Expand Down
4 changes: 2 additions & 2 deletions utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strings"
"sync/atomic"

"gopkg.in/dancannon/gorethink.v2/internal/encoding"
p "gopkg.in/dancannon/gorethink.v2/internal/ql2"
"gopkg.in/dancannon/gorethink.v2/encoding"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)

// Helper functions for constructing terms
Expand Down

0 comments on commit ad28ba0

Please sign in to comment.