The SurrealDB SDK for Go enables you to interact with SurrealDB from server-side applications, systems, APIs, and as an embedded instance. You can use the SDK to execute queries, manage data, authenticate users, subscribe to real-time changes with live queries, and work with interactive sessions and transactions.
The SDK requires Go 1.23 or greater, and is available as a go.dev package.
The latest version of the SDK is v1.5.1.
The SDK works with SurrealDB versions v2.0.0 to v3.2.0, ensuring compatibility with the latest version.
Getting started
Learn
Contributing
To contribute to the SDK code, submit an Issue or Pull Request in the surrealdb.go repository. To contribute to this documentation, submit an Issue or Pull Request in the docs.surrealdb.com repository.