Registry /
database / couchbaselabs-go-couchbase
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.
couchbase
✓ github.com/couchbaselabs/go-couchbase
Connect to a Couchbase cluster and get a pool.
package main
import (
"fmt"
"github.com/couchbaselabs/go-couchbase"
)
func main() {
client, err := couchbase.Connect("http://localhost:8091")
if err != nil {
panic(err)
}
pool, err := client.GetPool("default")
if err != nil {
panic(err)
}
fmt.Println(pool.Name)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.1.1latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.