Registry / database / couchbase-gocb-v2

couchbase-gocb-v2

JSON →
library2.12.3gogounverified

Package gocb is the official Couchbase Go SDK for interacting with Couchbase Server.

go get github.com/couchbase/gocb/v2
INSTALL
IMPORT
SIG · COUCHBASE-GOCB-V2
C
couchbase-gocb-v2
databasegov2.12.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gocb
github.com/couchbase/gocb/v2

Connects to a local Couchbase cluster.

package main import ( "fmt" "github.com/couchbase/gocb/v2" ) func main() { cluster, _ := gocb.Connect("couchbase://localhost", gocb.ClusterOptions{}) fmt.Println(cluster) }
Debug
Known issues
breakingBreaking changes between v1 and v2; v2 uses a different API.
fix
Refer to migration guide when upgrading from v1.
affects: >=2.0.0
Upgrade
Version history
2.12.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
16
OpenAI (training)
2
Amazon
1
Resources
couchbase-gocb-v2 — go get couchbase-gocb-v2 · libregistry