Skip to content

Commit

Permalink
Upgrade to latest gocbcore (v4).
Browse files Browse the repository at this point in the history
Change-Id: Ie547a7de78675b0c8d191f57f72cdaf2a81a3345
Reviewed-on: http://review.couchbase.org/75654
Reviewed-by: Mark Nunberg <mark.nunberg@couchbase.com>
Tested-by: Brett Lawson <brett19@gmail.com>
  • Loading branch information
brett19 committed Mar 28, 2017
1 parent ee1e893 commit 4bc2e17
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bucket.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gocb

import (
"gopkg.in/couchbase/gocbcore.v2"
"gopkg.in/couchbase/gocbcore.v4"
"math/rand"
"time"
)
Expand Down
2 changes: 1 addition & 1 deletion bucket_crud.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gocb

import (
"gopkg.in/couchbase/gocbcore.v2"
"gopkg.in/couchbase/gocbcore.v4"
)

// Retrieves a document from the bucket
Expand Down
2 changes: 1 addition & 1 deletion bucket_dura.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gocb

import (
"gopkg.in/couchbase/gocbcore.v2"
"gopkg.in/couchbase/gocbcore.v4"
)

func (b *Bucket) observeOnceCas(key []byte, cas Cas, forDelete bool, replicaIdx int, commCh chan uint) (pendingOp, error) {
Expand Down
2 changes: 1 addition & 1 deletion bucket_internal.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gocb

import (
"gopkg.in/couchbase/gocbcore.v2"
"gopkg.in/couchbase/gocbcore.v4"
)

// *INTERNAL*
Expand Down
2 changes: 1 addition & 1 deletion bucket_multi.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gocb

import (
"gopkg.in/couchbase/gocbcore.v2"
"gopkg.in/couchbase/gocbcore.v4"
)

type bulkOp struct {
Expand Down
2 changes: 1 addition & 1 deletion bucket_subdoc.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package gocb

import (
"encoding/json"
"gopkg.in/couchbase/gocbcore.v2"
"gopkg.in/couchbase/gocbcore.v4"
"log"
)

Expand Down
2 changes: 1 addition & 1 deletion cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"crypto/tls"
"crypto/x509"
"errors"
"gopkg.in/couchbase/gocbcore.v2"
"gopkg.in/couchbase/gocbcore.v4"
"io/ioutil"
"net/http"
"sync"
Expand Down
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package gocb

import (
"errors"
"gopkg.in/couchbase/gocbcore.v2"
"gopkg.in/couchbase/gocbcore.v4"
)

type clientError struct {
Expand Down
2 changes: 1 addition & 1 deletion token.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gocb
import (
"encoding/json"
"fmt"
"gopkg.in/couchbase/gocbcore.v2"
"gopkg.in/couchbase/gocbcore.v4"
)

// MutationToken holds the mutation state information from an operation.
Expand Down
2 changes: 1 addition & 1 deletion token_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package gocb

import (
"encoding/json"
"gopkg.in/couchbase/gocbcore.v2"
"gopkg.in/couchbase/gocbcore.v4"
"strings"
"testing"
)
Expand Down

0 comments on commit 4bc2e17

Please sign in to comment.