Setting Up Couchbase Go SDK

    Discover how to get up and running developing applications with the Couchbase Go SDK.

    A simple Go orientation intro for non-Go folk who are evaluating the Couchbase Go SDK.

    Is This Page for You?

    This page is to help evaluate the Couchbase Go SDK, if Go is not where you spend the majority of your working day. It is aimed at Software Architects, QE folk, managers, and anyone else who needs to run through using the Go SDK without necessarily being comfortable with installing and developing with Go. If this is not you, head back to the rest of the Couchbase Go SDK documentation.

    • The Go Getting Started Guide is an excellent introduction to installing and using the Go platform.

    • Be aware that the Go SDK supports Go Modules. You can use go get to download the SDK:

      go get only works if you have initialised a Go module, and have a go.mod file in your working directory.
      Install the latest version of the Couchbase 2.12 Go SDK
      $ go get github.com/couchbase/gocb/v2@v2.12.3