In this section, you will learn how to install the Golang SDK in your project.
First, install the SDK from pkg.go.dev using the go get
command:
go get github.com/surrealdb/surrealdb.go
After installing, you can then import the SDK into your project.
import ( "fmt" surrealdb "github.com/surrealdb/surrealdb.go" "github.com/surrealdb/surrealdb.go/pkg/models" )
After installing the SDK, check out the quick start guide to build your a simple application with the SDK. You can also learn more about carrying out common tasks with the SDK in the following sections: