Back to

Package gocb

Latest Go to latest
Published: May 19, 2020 | License: Apache-2.0 | Module:



Couchbase Go Client

This is the official Couchbase Go SDK. If you are looking for our previous unofficial prototype Go client library, please see:

The Go SDK library allows you to connect to a Couchbase cluster from Go. It is written in pure Go, and uses the included gocbcore library to handle communicating to the cluster over the Couchbase binary protocol.


The project source is hosted at


You can explore our API reference through godoc at

You can also find documentation for the Go SDK at the Couchbase Developer Portal.

Bug Tracker

Issues are tracked on Couchbase’s public Contact the site admins regarding login or other problems at (officially) or ask around in couchbase/discuss on (unofficially).


To install the latest stable version, run:

go get

To install the latest developer version, run:

go get


Copyright 2016 Couchbase Inc.

Licensed under the Apache License, Version 2.0.

See LICENSE for further details.