Skip to content

Commit e34d751

Browse files
committed
go fmt
1 parent 9d2f62a commit e34d751

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

connection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"sync/atomic"
1111
"time"
1212

13-
p "gopkg.in/gorethink/gorethink.v3/ql2"
1413
"golang.org/x/net/context"
14+
p "gopkg.in/gorethink/gorethink.v3/ql2"
1515
)
1616

1717
const (

cursor.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"reflect"
88
"sync"
99

10+
"golang.org/x/net/context"
1011
"gopkg.in/gorethink/gorethink.v3/encoding"
1112
p "gopkg.in/gorethink/gorethink.v3/ql2"
12-
"golang.org/x/net/context"
1313
)
1414

1515
var (
@@ -36,7 +36,7 @@ func newCursor(ctx context.Context, conn *Connection, cursorType string, token i
3636
opts: opts,
3737
buffer: make([]interface{}, 0),
3838
responses: make([]json.RawMessage, 0),
39-
ctx: ctx,
39+
ctx: ctx,
4040
}
4141

4242
return cursor
@@ -66,7 +66,7 @@ type Cursor struct {
6666
cursorType string
6767
term *Term
6868
opts map[string]interface{}
69-
ctx context.Context
69+
ctx context.Context
7070

7171
mu sync.RWMutex
7272
lastErr error

mock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"sync"
88
"time"
99

10-
p "gopkg.in/gorethink/gorethink.v3/ql2"
1110
"golang.org/x/net/context"
11+
p "gopkg.in/gorethink/gorethink.v3/ql2"
1212
)
1313

1414
// Mocking is based on the amazing package github.com/stretchr/testify

node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package gorethink
33
import (
44
"sync"
55

6-
p "gopkg.in/gorethink/gorethink.v3/ql2"
76
"golang.org/x/net/context"
7+
p "gopkg.in/gorethink/gorethink.v3/ql2"
88
)
99

1010
// Node represents a database server in the cluster

pool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"net"
77
"sync"
88

9-
"gopkg.in/fatih/pool.v2"
109
"golang.org/x/net/context"
10+
"gopkg.in/fatih/pool.v2"
1111
)
1212

1313
var (

query.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"strconv"
77
"strings"
88

9-
p "gopkg.in/gorethink/gorethink.v3/ql2"
109
"golang.org/x/net/context"
10+
p "gopkg.in/gorethink/gorethink.v3/ql2"
1111
)
1212

1313
// A Query represents a query ready to be sent to the database, A Query differs

session.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"sync"
66
"time"
77

8-
p "gopkg.in/gorethink/gorethink.v3/ql2"
98
"golang.org/x/net/context"
9+
p "gopkg.in/gorethink/gorethink.v3/ql2"
1010
)
1111

1212
// A Session represents a connection to a RethinkDB cluster and should be used

0 commit comments

Comments
 (0)