Update package name in go CI

This commit is contained in:
PThorpe92
2025-08-26 14:18:57 -04:00
parent 4cf111e3c2
commit 2614a42294
2 changed files with 4 additions and 5 deletions

View File

@@ -34,10 +34,9 @@ jobs:
go-version: "1.23"
- name: build Go bindings library
run: cargo build --package limbo-go
run: cargo build --package turso-go
- name: run Go tests
env:
LD_LIBRARY_PATH: ${{ github.workspace }}/target/debug:$LD_LIBRARY_PATH
run: go test

View File

@@ -174,8 +174,8 @@ print(res.fetchone())
1. Clone the repository
2. Build the library and set your LD_LIBRARY_PATH to include turso's target directory
```console
cargo build --package limbo-go
export LD_LIBRARY_PATH=/path/to/limbo/target/debug:$LD_LIBRARY_PATH
cargo build --package turso-go
export LD_LIBRARY_PATH=/path/to/turso/target/debug:$LD_LIBRARY_PATH
```
3. Use the driver
@@ -191,7 +191,7 @@ import (
_ "github.com/tursodatabase/turso"
)
conn, _ = sql.Open("sqlite3", "sqlite.db")
conn, _ = sql.Open("turso", "sqlite.db")
defer conn.Close()
stmt, _ := conn.Prepare("select * from users")