
Golang SDK
The SurrealDB SDK for Go enables you to interact with SurrealDB from server-side applications, systems, and APIs. 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, is available as a go.dev package, and is compatible with SurrealDB v2.x and v3.x.
Getting started
Documentation
- Concepts for guides on connections, authentication, queries, and more
- API Reference for detailed method signatures, parameters, and return types
Sources
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.