The official Go SDK for connecting to and interacting with SurrealDB, a cloud-native database.
surrealdb.go is the official Go SDK for SurrealDB, a cloud-native database. It provides a Go-native interface to connect to SurrealDB, execute queries, manage data, and leverage real-time features. This SDK solves the problem of integrating SurrealDB's advanced database capabilities into Go applications with an idiomatic and type-safe API.
Go developers building applications that require a flexible, real-time, or multi-model database backend, particularly those using or evaluating SurrealDB.
Developers choose surrealdb.go because it's the officially supported Go client for SurrealDB, ensuring reliability, compatibility, and access to the latest database features. Its Go-native design offers a seamless development experience compared to generic or community-built drivers.
SurrealDB SDK for Golang
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
As the official SDK maintained by the SurrealDB team, it ensures compatibility with the latest database features and reliability, reducing integration risks.
It supports all core SurrealDB operations including queries, transactions, and real-time subscriptions, enabling full database interaction from Go.
Designed with Go idioms in mind, it offers a type-safe and familiar development experience, as highlighted in the GitHub description.
Includes extensive documentation and practical examples on pkg.go.dev and surrealdb.com, helping developers get started quickly.
The SDK is labeled as beta, meaning it's not production-ready and may have breaking changes or incomplete features, as admitted in the README status badge.
Running tests requires having SurrealDB installed and running separately, adding overhead to development workflows, as noted in the Contributing section.
Tied to SurrealDB, a newer database, it lacks the extensive tooling, ORMs, and community resources available for more established databases.