Registry / database / couchbase-gocb

couchbase-gocb

JSON →
library1.6.7gogounverified

The official Couchbase Go SDK for interacting with Couchbase Server.

go get github.com/couchbase/gocb
INSTALL
IMPORT
SIG · COUCHBASE-GOCB
C
couchbase-gocb
databasegov1.6.7
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

Connects to a Couchbase cluster and accesses a bucket.

package main import ( "fmt" "github.com/couchbase/gocb" ) func main() { cluster, _ := gocb.Connect("couchbase://localhost", gocb.ClusterOptions{Username: "user", Password: "pass"}) bucket := cluster.Bucket("default") fmt.Println(bucket.Name()) }
Debug
Known issues
breakingBreaking changes between v1 and v2
fix
Use v2 for new projects; v1 is legacy.
affects: >=1.0.0 <2.0.0
Upgrade
Version history
1.6.7latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
8
OpenAI (training)
1
Resources
couchbase-gocb — go get couchbase-gocb · libregistry