Skip to content

Commit

Permalink
Upgrade to latest gocbcore (v6).
Browse files Browse the repository at this point in the history
Change-Id: I21431328a95247b3d2d947af42e5bfd175b7b17e
Reviewed-on: http://review.couchbase.org/76513
Reviewed-by: Mark Nunberg <mark.nunberg@couchbase.com>
Tested-by: Brett Lawson <brett19@gmail.com>
  • Loading branch information
brett19 committed Apr 10, 2017
1 parent 9447f9e commit ccd582e
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion bucket.go
@@ -1,7 +1,7 @@
package gocb

import (
"gopkg.in/couchbase/gocbcore.v5"
"gopkg.in/couchbase/gocbcore.v6"
"math/rand"
"time"
)
Expand Down
2 changes: 1 addition & 1 deletion bucket_crud.go
@@ -1,7 +1,7 @@
package gocb

import (
"gopkg.in/couchbase/gocbcore.v5"
"gopkg.in/couchbase/gocbcore.v6"
)

// Get retrieves a document from the bucket
Expand Down
2 changes: 1 addition & 1 deletion bucket_dura.go
@@ -1,7 +1,7 @@
package gocb

import (
"gopkg.in/couchbase/gocbcore.v5"
"gopkg.in/couchbase/gocbcore.v6"
)

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
@@ -1,7 +1,7 @@
package gocb

import (
"gopkg.in/couchbase/gocbcore.v5"
"gopkg.in/couchbase/gocbcore.v6"
)

// BucketInternal holds various internally used bucket extension methods.
Expand Down
2 changes: 1 addition & 1 deletion bucket_multi.go
@@ -1,7 +1,7 @@
package gocb

import (
"gopkg.in/couchbase/gocbcore.v5"
"gopkg.in/couchbase/gocbcore.v6"
)

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

import (
"encoding/json"
"gopkg.in/couchbase/gocbcore.v5"
"gopkg.in/couchbase/gocbcore.v6"
"log"
)

Expand Down
4 changes: 2 additions & 2 deletions cluster.go
Expand Up @@ -4,7 +4,7 @@ import (
"crypto/tls"
"crypto/x509"
"errors"
"gopkg.in/couchbase/gocbcore.v5"
"gopkg.in/couchbase/gocbcore.v6"
"io/ioutil"
"net/http"
"sync"
Expand Down Expand Up @@ -322,7 +322,7 @@ func (c *Cluster) OpenStreamingBucket(streamName, bucket, password string) (*Str
if err != nil {
return nil, err
}
cli, err := gocbcore.CreateDcpAgent(agentConfig, streamName)
cli, err := gocbcore.CreateDcpAgent(agentConfig, streamName, 0)
if err != nil {
return nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion constants.go
@@ -1,7 +1,7 @@
package gocb

import (
"gopkg.in/couchbase/gocbcore.v5"
"gopkg.in/couchbase/gocbcore.v6"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion error.go
Expand Up @@ -2,7 +2,7 @@ package gocb

import (
"errors"
"gopkg.in/couchbase/gocbcore.v5"
"gopkg.in/couchbase/gocbcore.v6"
"strings"
)

Expand Down
2 changes: 1 addition & 1 deletion logging.go
Expand Up @@ -2,7 +2,7 @@ package gocb

import (
"fmt"
"gopkg.in/couchbase/gocbcore.v5"
"gopkg.in/couchbase/gocbcore.v6"
"log"
"strings"
)
Expand Down
2 changes: 1 addition & 1 deletion token.go
Expand Up @@ -3,7 +3,7 @@ package gocb
import (
"encoding/json"
"fmt"
"gopkg.in/couchbase/gocbcore.v5"
"gopkg.in/couchbase/gocbcore.v6"
)

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

import (
"encoding/json"
"gopkg.in/couchbase/gocbcore.v5"
"gopkg.in/couchbase/gocbcore.v6"
"strings"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion transcoding.go
Expand Up @@ -2,7 +2,7 @@ package gocb

import (
"encoding/json"
"gopkg.in/couchbase/gocbcore.v5"
"gopkg.in/couchbase/gocbcore.v6"
)

// Transcoder provides an interface for transforming Go values to and
Expand Down

0 comments on commit ccd582e

Please sign in to comment.