Home / Companies / Couchbase / Blog / Post Details
Content Deep Dive

Introducing Couchbase Go SDK 2.0 Alpha

Blog post from Couchbase

Post Details
Company
Date Published
Author
Charles Dixon, Software Engineer, Couchbase
Word Count
1,598
Language
English
Hacker News Points
-
Summary

The Couchbase Go SDK 2.0 Alpha introduces significant changes to its API, aiming for simplicity, future-proofing, and integration with the latest ecosystem developments. The new SDK aligns with features in Couchbase Server, such as Scopes and Collections, which provide a more efficient way of managing multi-tenancy. The updated API has been revamped to simplify key-value operations, N1QL queries, search, analytics, and views, while also introducing context support for cancellation. Additionally, error handling has been improved with the introduction of type-safe errors and helper functions. The SDK is now available for Go development and can be used by connecting to a Couchbase cluster, opening a bucket, and using the default collection.