From 2614a42294028f6896aaf257ad2913d74bd80ce1 Mon Sep 17 00:00:00 2001 From: PThorpe92 Date: Tue, 26 Aug 2025 14:18:57 -0400 Subject: [PATCH] Update package name in go CI --- .github/workflows/go.yml | 3 +-- README.md | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index acf74e39a..be3b1a84b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 - diff --git a/README.md b/README.md index a98999ee5..ceaca572c 100644 --- a/README.md +++ b/README.md @@ -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")